diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 22:25:44 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 22:25:44 +0000 |
commit | 04d97c1a6895a4ab6987fbb851513f9b82f4e741 (patch) | |
tree | 9d3f5b4a226167d6e936e89055447aefd11f0250 /chrome/common/gtk_util.h | |
parent | a7659318ed6c379ba782f61d8fb80e665d3a45d7 (diff) | |
download | chromium_src-04d97c1a6895a4ab6987fbb851513f9b82f4e741.zip chromium_src-04d97c1a6895a4ab6987fbb851513f9b82f4e741.tar.gz chromium_src-04d97c1a6895a4ab6987fbb851513f9b82f4e741.tar.bz2 |
So it turns out that gdk already has a function that does exactly what we want.
http://www.google.com/codesearch/p?hl=en&sa=N&cd=2&ct=rc#eSCqYNcHl48/gtk%2B-2.4.10/gdk/gdkevents.c&q=gdk_event_get_time
Review URL: http://codereview.chromium.org/164429
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/gtk_util.h')
-rw-r--r-- | chrome/common/gtk_util.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h index 556e77f..8ff40c4 100644 --- a/chrome/common/gtk_util.h +++ b/chrome/common/gtk_util.h @@ -25,11 +25,6 @@ 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. -// TODO(evanm): see comments in jankometer.cc about using this. -guint32 GetGdkEventTime(GdkEvent* event); - } // namespace event_utils namespace gtk_util { |