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

Unified Diff: ui/events/events_stub.cc

Issue 160083003: Split cocoa_event_utils in two parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: still works? Created 6 years, 10 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 | « ui/events/events.gyp ('k') | ui/ui.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/events_stub.cc
diff --git a/ui/events/events_stub.cc b/ui/events/events_stub.cc
index 8a5722bb4dc44a0a058f4954fd511032a85cf00e..bece37acbc94fdc815e97117f29f7f3a35adc685 100644
--- a/ui/events/events_stub.cc
+++ b/ui/events/events_stub.cc
@@ -4,6 +4,7 @@
#include "base/logging.h"
#include "base/time/time.h"
+#include "build/build_config.h"
#include "ui/events/event_utils.h"
#include "ui/gfx/point.h"
#include "ui/gfx/vector2d.h"
@@ -22,10 +23,12 @@ EventType EventTypeFromNative(const base::NativeEvent& native_event) {
return ET_UNKNOWN;
}
+#if !defined(OS_MACOSX)
int EventFlagsFromNative(const base::NativeEvent& native_event) {
NOTIMPLEMENTED();
return 0;
}
+#endif
base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) {
NOTIMPLEMENTED();
« no previous file with comments | « ui/events/events.gyp ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698