diff options
Diffstat (limited to 'chrome/common/native_web_keyboard_event.h')
-rw-r--r-- | chrome/common/native_web_keyboard_event.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/native_web_keyboard_event.h b/chrome/common/native_web_keyboard_event.h index 4f6548d..1ed0cb1 100644 --- a/chrome/common/native_web_keyboard_event.h +++ b/chrome/common/native_web_keyboard_event.h @@ -59,6 +59,13 @@ struct NativeWebKeyboardEvent : public WebKit::WebKeyboardEvent { // it is hit in ime mode. // Currently, it's only used by Linux and Mac ports. bool skip_in_browser; + +#if defined(OS_LINUX) + // True if the key event matches an edit command. In order to ensure the edit + // command always work in web page, the browser should not pre-handle this key + // event as a reserved accelerator. See http://crbug.com/54573 + bool match_edit_command; +#endif }; #endif // CHROME_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_ |