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",
106 if CONFIG["MOZ_WEBSPEECH"]:
107 EXPORTS.mozilla.dom += ["SpeechRecognitionError.h"]
110 "AnimationEvent.cpp",
111 "AsyncEventDispatcher.cpp",
112 "BeforeUnloadEvent.cpp",
114 "ClipboardEvent.cpp",
117 "CompositionEvent.cpp",
118 "ConstructibleEventTarget.cpp",
119 "ContentEventHandler.cpp",
122 "DataTransferItem.cpp",
123 "DataTransferItemList.cpp",
124 "DeviceMotionEvent.cpp",
125 "DOMEventTargetHelper.cpp",
128 "EventDispatcher.cpp",
129 "EventListenerManager.cpp",
130 "EventListenerService.cpp",
133 "GlobalKeyListener.cpp",
134 "ImageCaptureError.cpp",
135 "IMEContentObserver.cpp",
136 "IMEStateManager.cpp",
139 "JSEventHandler.cpp",
141 "KeyEventHandler.cpp",
144 "MouseScrollEvent.cpp",
146 "NotifyPaintEvent.cpp",
149 "PointerEventHandler.cpp",
150 "RemoteDragStartData.cpp",
151 "ScrollAreaEvent.cpp",
152 "ShortcutKeyDefinitions.cpp",
154 "SimpleGestureEvent.cpp",
157 "TextComposition.cpp",
161 "TransitionEvent.cpp",
164 "WheelHandlingHelper.cpp",
165 "XULCommandEvent.cpp",
168 # nsEventStateManager.cpp should be built separately because of Mac OS X headers.
170 "EventStateManager.cpp",
173 if CONFIG["MOZ_WEBSPEECH"]:
174 UNIFIED_SOURCES += ["SpeechRecognitionError.cpp"]
176 include("/ipc/chromium/chromium-config.mozbuild")
178 FINAL_LIBRARY = "xul"
186 "/js/xpconnect/wrappers",