Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: ui/events/BUILD.gn

Issue 789363004: WindowManagerApp should recognize gestures (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rename Aura to Impl and add FIXME Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/window_manager/window_manager_app.cc ('k') | ui/events/events.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/BUILD.gn
diff --git a/ui/events/BUILD.gn b/ui/events/BUILD.gn
index 22c1bfd069d1b1ff8b1dbd4a0a3f8f06c08fab0a..00e648afb0136798e3ae1d0b2bf7c12a9541b704 100644
--- a/ui/events/BUILD.gn
+++ b/ui/events/BUILD.gn
@@ -111,8 +111,15 @@ component("events") {
"event_utils.h",
"events_export.h",
"events_stub.cc",
+ "gestures/gesture_provider_impl.cc",
+ "gestures/gesture_provider_impl.h",
+ "gestures/gesture_recognizer.h",
+ "gestures/gesture_recognizer_impl.cc",
+ "gestures/gesture_recognizer_impl.h",
"gestures/gesture_recognizer_impl_mac.cc",
"gestures/gesture_types.h",
+ "gestures/motion_event_impl.cc",
+ "gestures/motion_event_impl.h",
"win/events_win.cc",
]
@@ -152,18 +159,6 @@ component("events") {
sources += [ "ozone/events_ozone.cc" ]
}
- if (use_aura) {
- sources += [
- "gestures/gesture_provider_aura.cc",
- "gestures/gesture_provider_aura.h",
- "gestures/motion_event_aura.cc",
- "gestures/motion_event_aura.h",
- "gestures/gesture_recognizer.h",
- "gestures/gesture_recognizer_impl.cc",
- "gestures/gesture_recognizer_impl.h",
- ]
- }
-
if (is_win || is_mac || use_x11 || use_ozone) {
sources -= [ "events_stub.cc" ]
}
@@ -206,6 +201,7 @@ component("gesture_detection") {
"gesture_detection/velocity_tracker_state.h",
"gesture_detection/velocity_tracker.cc",
"gesture_detection/velocity_tracker.h",
+ "gesture_detection/gesture_config_helper_aura.cc",
]
deps = [
@@ -216,14 +212,6 @@ component("gesture_detection") {
]
defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ]
-
- if (is_android) {
- sources += [ "gesture_detection/gesture_config_helper_android.cc" ]
- } else if (use_aura) {
- sources += [ "gesture_detection/gesture_config_helper_aura.cc" ]
- } else {
- sources += [ "gesture_detection/gesture_config_helper.cc" ]
- }
}
source_set("test_support") {
@@ -325,6 +313,6 @@ test("events_unittests") {
}
if (use_aura) {
- sources += [ "gestures/gesture_provider_aura_unittest.cc" ]
+ sources += [ "gestures/gesture_provider_impl_unittest.cc" ]
}
}
« no previous file with comments | « services/window_manager/window_manager_app.cc ('k') | ui/events/events.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698