1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 BUG_COMPONENT = ("Core", "DOM: UI Events & Focus Handling")
11 BUG_COMPONENT = ("Core", "DOM: Events")
13 BROWSER_CHROME_MANIFESTS += [
15 "test/clipboard/browser.toml",
18 MOCHITEST_MANIFESTS += [
19 "test/clipboard/mochitest.toml",
20 "test/mochitest.toml",
21 "test/pointerevents/mochitest.toml",
24 MOCHITEST_CHROME_MANIFESTS += [
26 "test/clipboard/chrome.toml",
27 "test/pointerevents/chrome.toml",
30 TEST_DIRS += ["test/gtest"]
33 "nsIEventListenerService.idl",
36 XPIDL_MODULE = "content_events"
39 "AsyncEventDispatcher.h",
40 "DOMEventTargetHelper.h",
42 "EventListenerManager.h",
44 "EventStateManager.h",
45 "GlobalKeyListener.h",
46 "IMEContentObserver.h",
48 "InputEventOptions.h",
50 "InternalMutationEvent.h",
54 "PendingFullscreenEvent.h",
55 "PhysicalKeyCodeNameList.h",
58 "VirtualKeyCodeList.h",
59 "WheelHandlingHelper.h",
62 EXPORTS.mozilla.dom += [
64 "BeforeUnloadEvent.h",
70 "ConstructibleEventTarget.h",
74 "DataTransferItemList.h",
75 "DeviceMotionEvent.h",
80 "ImageCaptureError.h",
91 "PointerEventHandler.h",
92 "RemoteDragStartData.h",
94 "SimpleGestureEvent.h",
105 if CONFIG["MOZ_WEBSPEECH"]:
106 EXPORTS.mozilla.dom += ["SpeechRecognitionError.h"]
109 "AnimationEvent.cpp",
110 "AsyncEventDispatcher.cpp",
111 "BeforeUnloadEvent.cpp",
113 "ClipboardEvent.cpp",
116 "CompositionEvent.cpp",
117 "ConstructibleEventTarget.cpp",
118 "ContentEventHandler.cpp",
121 "DataTransferItem.cpp",
122 "DataTransferItemList.cpp",
123 "DeviceMotionEvent.cpp",
124 "DOMEventTargetHelper.cpp",
127 "EventDispatcher.cpp",
128 "EventListenerManager.cpp",
129 "EventListenerService.cpp",
132 "GlobalKeyListener.cpp",
133 "ImageCaptureError.cpp",
134 "IMEContentObserver.cpp",
135 "IMEStateManager.cpp",
138 "JSEventHandler.cpp",
140 "KeyEventHandler.cpp",
143 "MouseScrollEvent.cpp",
145 "NotifyPaintEvent.cpp",
148 "PointerEventHandler.cpp",
149 "RemoteDragStartData.cpp",
150 "ScrollAreaEvent.cpp",
151 "ShortcutKeyDefinitions.cpp",
153 "SimpleGestureEvent.cpp",
156 "TextComposition.cpp",
159 "TransitionEvent.cpp",
162 "WheelHandlingHelper.cpp",
163 "XULCommandEvent.cpp",
166 # nsEventStateManager.cpp should be built separately because of Mac OS X headers.
168 "EventStateManager.cpp",
171 if CONFIG["MOZ_WEBSPEECH"]:
172 UNIFIED_SOURCES += ["SpeechRecognitionError.cpp"]
174 include("/ipc/chromium/chromium-config.mozbuild")
176 FINAL_LIBRARY = "xul"
184 "/js/xpconnect/wrappers",