diff options
Diffstat (limited to 'chromium/content/public/browser/native_web_keyboard_event.h')
-rw-r--r-- | chromium/content/public/browser/native_web_keyboard_event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/content/public/browser/native_web_keyboard_event.h b/chromium/content/public/browser/native_web_keyboard_event.h index 1585fbd6762..3e4db80d49d 100644 --- a/chromium/content/public/browser/native_web_keyboard_event.h +++ b/chromium/content/public/browser/native_web_keyboard_event.h @@ -28,7 +28,7 @@ struct CONTENT_EXPORT NativeWebKeyboardEvent : wchar_t character, int state, double time_stamp_seconds); -#elif defined(OS_MACOSX) || defined(TOOLKIT_GTK) +#elif defined(OS_MACOSX) // TODO(suzhe): Limit these constructors to Linux native Gtk port. // For Linux Views port, after using RenderWidgetHostViewViews to replace // RenderWidgetHostViewGtk, we can use constructors for TOOLKIT_VIEWS defined @@ -67,7 +67,7 @@ struct CONTENT_EXPORT NativeWebKeyboardEvent : // Currently, it's only used by Linux and Mac ports. bool skip_in_browser; -#if defined(TOOLKIT_GTK) +#if defined(USE_AURA) // 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 |