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

Unified Diff: ui/events/x/events_x_utils.h

Issue 1602173005: Add PlatformWindow/Event related code for Ozone X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final fixes for comments + tests. Created 4 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/x/BUILD.gn ('k') | ui/ozone/platform/x11/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/x/events_x_utils.h
diff --git a/ui/events/x/events_x_utils.h b/ui/events/x/events_x_utils.h
index 15c4e387f82e7f140b79f491d0f9232abde8f299..0a07061ee179fca99739e69e1d7cf1d586128210 100644
--- a/ui/events/x/events_x_utils.h
+++ b/ui/events/x/events_x_utils.h
@@ -16,16 +16,16 @@ typedef union _XEvent XEvent;
namespace ui {
-// Get the EventType from a XEvent.
+// Gets the EventType from a XEvent.
EVENTS_X_EXPORT EventType EventTypeFromXEvent(const XEvent& xev);
-// Get the EventFlags from a XEvent.
+// Gets the EventFlags from a XEvent.
EVENTS_X_EXPORT int EventFlagsFromXEvent(const XEvent& xev);
-// Get the timestamp from a XEvent.
+// Gets the timestamp from a XEvent.
EVENTS_X_EXPORT base::TimeDelta EventTimeFromXEvent(const XEvent& xev);
-// Get the location from a XEvent. The coordinate system of the resultant
+// Gets the location from a XEvent. The coordinate system of the resultant
// |Point| has the origin at top-left of the "root window". The nature of
// this "root window" and how it maps to platform-specific drawing surfaces is
// defined in ui/aura/root_window.* and ui/aura/window_tree_host*.
« no previous file with comments | « ui/events/x/BUILD.gn ('k') | ui/ozone/platform/x11/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698