Index: ui/base/cocoa/events_mac.mm |
diff --git a/ui/base/cocoa/events_mac.mm b/ui/base/cocoa/events_mac.mm |
index 437b4659a64287f3bef430c6bb43b7749127cf47..4471882d818376dcd502a9cd4bda9baabe01b8fe 100644 |
--- a/ui/base/cocoa/events_mac.mm |
+++ b/ui/base/cocoa/events_mac.mm |
@@ -128,6 +128,13 @@ gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { |
return gfx::Point(NSPointToCGPoint(location)); |
} |
+gfx::Point EventSystemLocationFromNative( |
+ const base::NativeEvent& native_event) { |
+ // TODO(port): Needs to always return screen position here. Returning normal |
+ // origin for now since that's obviously wrong. |
+ return gfx::Point(0, 0); |
+} |
+ |
KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) { |
return ui::KeyboardCodeFromNSEvent(native_event); |
} |