| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ | 5 #ifndef CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ |
| 6 #define CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ | 6 #define CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "webkit/api/public/WebInputEvent.h" | 9 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" |
| 10 | 10 |
| 11 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
| 12 #include <windows.h> | 12 #include <windows.h> |
| 13 #elif defined(OS_MACOSX) | 13 #elif defined(OS_MACOSX) |
| 14 #ifdef __OBJC__ | 14 #ifdef __OBJC__ |
| 15 @class NSEvent; | 15 @class NSEvent; |
| 16 #else | 16 #else |
| 17 class NSEvent; | 17 class NSEvent; |
| 18 #endif // __OBJC__ | 18 #endif // __OBJC__ |
| 19 #elif defined(OS_LINUX) | 19 #elif defined(OS_LINUX) |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 // renderer. This happens for RawKeyDown events that are created while IME is | 53 // renderer. This happens for RawKeyDown events that are created while IME is |
| 54 // active and is necessary to prevent backspace from doing "history back" if | 54 // active and is necessary to prevent backspace from doing "history back" if |
| 55 // it is hit in ime mode. | 55 // it is hit in ime mode. |
| 56 bool skip_in_browser; | 56 bool skip_in_browser; |
| 57 #elif defined(OS_LINUX) | 57 #elif defined(OS_LINUX) |
| 58 GdkEventKey* os_event; | 58 GdkEventKey* os_event; |
| 59 #endif | 59 #endif |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 #endif // CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ | 62 #endif // CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ |
| OLD | NEW |