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

Unified Diff: ui/base/events.h

Issue 8953037: Aura needs event translation for Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Nico's comments #2. Created 9 years 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/base/events.h
diff --git a/ui/base/events.h b/ui/base/events.h
index aab93664b494c1a7d8a10e2d3ed05f691e366433..3b66090f0bbe4e89ee5aa0acd1f9fa055402588c 100644
--- a/ui/base/events.h
+++ b/ui/base/events.h
@@ -80,7 +80,8 @@ UI_EXPORT EventType EventTypeFromNative(const base::NativeEvent& native_event);
// Get the EventFlags from a native event.
UI_EXPORT int EventFlagsFromNative(const base::NativeEvent& native_event);
-// Get the location from a native event.
+// Get the location from a native event. The coordinate system of the resultant
+// |Point| has the origin at top-left.
Nico 2011/12/19 23:30:28 top-left of what?
dhollowa 2011/12/20 00:05:34 Done. The "what" is platform-specific so I've pro
UI_EXPORT gfx::Point EventLocationFromNative(
const base::NativeEvent& native_event);

Powered by Google App Engine
This is Rietveld 408576698