Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1446)

Unified Diff: chrome/browser/ui/views/unhandled_keyboard_event_handler.h

Issue 8907029: AURA/X11: Handle VKEY_MENU accelerator on content area (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/unhandled_keyboard_event_handler.h
diff --git a/chrome/browser/ui/views/unhandled_keyboard_event_handler.h b/chrome/browser/ui/views/unhandled_keyboard_event_handler.h
index 41f1a841bc9ca6fc440cb462cc076c80943449d5..c61ff238f8257b57f9aac316489f43af308f9469 100644
--- a/chrome/browser/ui/views/unhandled_keyboard_event_handler.h
+++ b/chrome/browser/ui/views/unhandled_keyboard_event_handler.h
@@ -24,6 +24,7 @@ class UnhandledKeyboardEventHandler {
views::FocusManager* focus_manager);
private:
+#if defined(OS_WIN)
// Whether to ignore the next Char keyboard event.
// If a RawKeyDown event was handled as a shortcut key, then we're done
// handling it and should eat any Char event that the translate phase may
@@ -31,6 +32,7 @@ class UnhandledKeyboardEventHandler {
// such as a beep if DefWindowProc() has no default handling for the given
// Char.)
bool ignore_next_char_event_;
+#endif
DISALLOW_COPY_AND_ASSIGN(UnhandledKeyboardEventHandler);
};
« no previous file with comments | « chrome/browser/ui/views/handle_web_keyboard_event_gtk.cc ('k') | chrome/browser/ui/views/unhandled_keyboard_event_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698