| 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..7efc7cfdd13143fa3a6ed8d794b73e28207336d8 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 EventRootLocationFromNative(const base::NativeEvent& native_event) {
|
| + // TOOD(erg): I have no idea how to calculate this, and since I doubt we'll
|
| + // ever ship an aura desktop build on the Mac, just return the normal
|
| + // location.
|
| + return EventLocationFromNative(native_event);
|
| +}
|
| +
|
| KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) {
|
| return ui::KeyboardCodeFromNSEvent(native_event);
|
| }
|
|
|