diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-12 18:20:47 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-12 18:20:47 +0000 |
commit | cd9694081920898abccbf9e5dcf8624ad8223c63 (patch) | |
tree | 9ae5ed2c39d64b432e2b41ed39d3fc25f2e3a3e1 /webkit/glue/event_conversion.h | |
parent | 797f5d1d995bd5f31fbb811785b15fbccecafbd4 (diff) | |
download | chromium_src-cd9694081920898abccbf9e5dcf8624ad8223c63.zip chromium_src-cd9694081920898abccbf9e5dcf8624ad8223c63.tar.gz chromium_src-cd9694081920898abccbf9e5dcf8624ad8223c63.tar.bz2 |
Implement the triple click for the Mac.
Review URL: http://codereview.chromium.org/99104
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15877 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/event_conversion.h')
-rw-r--r-- | webkit/glue/event_conversion.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/webkit/glue/event_conversion.h b/webkit/glue/event_conversion.h index 3f49938..5b83c97 100644 --- a/webkit/glue/event_conversion.h +++ b/webkit/glue/event_conversion.h @@ -1,9 +1,9 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef WEBKIT_GLUE_EVENT_CONVERSION_H__ -#define WEBKIT_GLUE_EVENT_CONVERSION_H__ +#ifndef WEBKIT_GLUE_EVENT_CONVERSION_H_ +#define WEBKIT_GLUE_EVENT_CONVERSION_H_ #include "base/basictypes.h" #include "base/compiler_specific.h" @@ -31,14 +31,6 @@ class MakePlatformMouseEvent : public WebCore::PlatformMouseEvent { public: MakePlatformMouseEvent( WebCore::Widget* widget, const WebKit::WebMouseEvent& e); - - static void ResetLastClick() { - last_click_time_ = last_click_count_ = 0; - } - - private: - static int last_click_count_; - static uint32 last_click_time_; }; class MakePlatformWheelEvent : public WebCore::PlatformWheelEvent { @@ -54,4 +46,4 @@ class MakePlatformKeyboardEvent : public WebCore::PlatformKeyboardEvent { bool IsCharacterKey() const; }; -#endif // WEBKIT_GLUE_EVENT_CONVERSION_H__ +#endif // WEBKIT_GLUE_EVENT_CONVERSION_H_ |