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

Unified Diff: chrome/common/gtk_util.h

Issue 155194: linux: port Jankometer (Closed)
Patch Set: ok Created 11 years, 5 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 | « chrome/chrome.gyp ('k') | chrome/common/gtk_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gtk_util.h
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h
index e4e7da322465eca75dd0179076153c694d3b3e06..8e85aed247ac4ae14e6f5541b4c6ff1947c341f7 100644
--- a/chrome/common/gtk_util.h
+++ b/chrome/common/gtk_util.h
@@ -22,6 +22,10 @@ namespace event_utils {
// event_flags are the state in the GdkEvent structure.
WindowOpenDisposition DispositionFromEventFlags(guint state);
+// Get the timestamp (milliseconds) out of a GdkEvent.
+// Returns 0 if the event has no timestamp.
+guint32 GetGdkEventTime(GdkEvent* event);
+
} // namespace event_utils
namespace gtk_util {
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/common/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698