diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 17:26:23 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 17:26:23 +0000 |
commit | f3735c5dc0269579afc173d9e519243c305e1186 (patch) | |
tree | fbaa17da8e7756c15d98c9b03c137bfdd93b5007 /chrome/views/event.h | |
parent | d6f0c649a8584be915f1ef12abbaab318b50376c (diff) | |
download | chromium_src-f3735c5dc0269579afc173d9e519243c305e1186.zip chromium_src-f3735c5dc0269579afc173d9e519243c305e1186.tar.gz chromium_src-f3735c5dc0269579afc173d9e519243c305e1186.tar.bz2 |
Render into a ChromeCanvasPaint object in a RootView under Linux.
Review URL: http://codereview.chromium.org/45014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12097 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/event.h')
-rw-r--r-- | chrome/views/event.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/views/event.h b/chrome/views/event.h index 899d9fa..92f93ef 100644 --- a/chrome/views/event.h +++ b/chrome/views/event.h @@ -80,11 +80,13 @@ class Event { return (flags_ & EF_ALT_DOWN) != 0; } +#if defined(OS_WIN) // Returns the EventFlags in terms of windows flags. int GetWindowsFlags() const; // Convert windows flags to views::Event flags static int ConvertWindowsFlags(uint32 win_flags); +#endif // Convert WebInputEvent::Modifiers flags to views::Event flags. // Note that this only deals with keyboard modifiers. @@ -231,7 +233,9 @@ class KeyEvent : public Event { return character_; } +#if defined(OS_WIN) bool IsExtendedKey() const; +#endif int GetRepeatCount() const { return repeat_count_; |