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 CONTENT_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ |
6 #define CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ | 6 #define CONTENT_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
11 | 11 |
12 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
13 #include <windows.h> | 13 #include <windows.h> |
14 #elif defined(OS_MACOSX) | 14 #elif defined(OS_MACOSX) |
15 #ifdef __OBJC__ | 15 #ifdef __OBJC__ |
16 @class NSEvent; | 16 @class NSEvent; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 bool skip_in_browser; | 61 bool skip_in_browser; |
62 | 62 |
63 #if defined(OS_LINUX) | 63 #if defined(OS_LINUX) |
64 // True if the key event matches an edit command. In order to ensure the edit | 64 // True if the key event matches an edit command. In order to ensure the edit |
65 // command always work in web page, the browser should not pre-handle this key | 65 // command always work in web page, the browser should not pre-handle this key |
66 // event as a reserved accelerator. See http://crbug.com/54573 | 66 // event as a reserved accelerator. See http://crbug.com/54573 |
67 bool match_edit_command; | 67 bool match_edit_command; |
68 #endif | 68 #endif |
69 }; | 69 }; |
70 | 70 |
71 #endif // CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ | 71 #endif // CONTENT_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ |
OLD | NEW |