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 { |