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

Unified Diff: ui/events/events.gyp

Issue 251493002: MacViews: Implement basic NSEvent -> ui::Event conversion for Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 6 years, 8 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
Index: ui/events/events.gyp
diff --git a/ui/events/events.gyp b/ui/events/events.gyp
index 1aabbe30a2e8270bf40fafb524170d2321378808..cb796e55a59a8f9314d32efd9932765b3b1a799d 100644
--- a/ui/events/events.gyp
+++ b/ui/events/events.gyp
@@ -85,6 +85,7 @@
'sources': [
'cocoa/cocoa_event_utils.h',
'cocoa/cocoa_event_utils.mm',
+ 'cocoa/events_mac.mm',
'event.cc',
'event.h',
'event_dispatcher.cc',
@@ -166,7 +167,7 @@
'conditions': [
# We explicitly enumerate the platforms we _do_ provide native cracking
# for here.
- ['OS=="win" or use_x11==1 or use_ozone==1', {
+ ['OS=="win" or OS=="mac" or use_x11==1 or use_ozone==1', {
'sources!': [
'events_stub.cc',
],
@@ -337,7 +338,7 @@
'gesture_detection'
],
'sources': [
- 'cocoa/cocoa_event_utils_unittest.mm',
+ 'cocoa/events_mac_unittest.mm',
'event_dispatcher_unittest.cc',
'event_processor_unittest.cc',
'event_rewriter_unittest.cc',

Powered by Google App Engine
This is Rietveld 408576698