diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-27 18:17:24 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-27 18:17:24 +0000 |
commit | e5cd46b27d3591663ba43428e4b2e2249bf9733e (patch) | |
tree | 0812842b1917d201e7610412d35d31c4d3c72c80 /chrome/common/native_web_keyboard_event.h | |
parent | e1a853a919b8011cec35b1ba6eb170e16f56391c (diff) | |
download | chromium_src-e5cd46b27d3591663ba43428e4b2e2249bf9733e.zip chromium_src-e5cd46b27d3591663ba43428e4b2e2249bf9733e.tar.gz chromium_src-e5cd46b27d3591663ba43428e4b2e2249bf9733e.tar.bz2 |
More linux ifdef tweaks. This reverts my earlier change (13503).
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/100046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14628 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/native_web_keyboard_event.h')
-rw-r--r-- | chrome/common/native_web_keyboard_event.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/native_web_keyboard_event.h b/chrome/common/native_web_keyboard_event.h index c055528..0400b41 100644 --- a/chrome/common/native_web_keyboard_event.h +++ b/chrome/common/native_web_keyboard_event.h @@ -16,7 +16,7 @@ #else class NSEvent; #endif // __OBJC__ -#elif defined(TOOLKIT_GTK) +#elif defined(OS_LINUX) #include <gdk/gdk.h> #endif @@ -29,7 +29,7 @@ struct NativeWebKeyboardEvent : public WebKit::WebKeyboardEvent { NativeWebKeyboardEvent(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); #elif defined(OS_MACOSX) explicit NativeWebKeyboardEvent(NSEvent *event); -#elif defined(TOOLKIT_GTK) +#elif defined(OS_LINUX) explicit NativeWebKeyboardEvent(const GdkEventKey* event); #endif @@ -42,7 +42,7 @@ struct NativeWebKeyboardEvent : public WebKit::WebKeyboardEvent { MSG os_event; #elif defined(OS_MACOSX) NSEvent* os_event; -#elif defined(TOOLKIT_GTK) +#elif defined(OS_LINUX) GdkEventKey* os_event; #endif }; |