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

Unified Diff: chrome/browser/cocoa/chrome_event_processing_window.h

Issue 235039: Fix conflicts between accelerator keys and HTML DOM accesskeys.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/cocoa/chrome_event_processing_window.h
===================================================================
--- chrome/browser/cocoa/chrome_event_processing_window.h (revision 29767)
+++ chrome/browser/cocoa/chrome_event_processing_window.h (working copy)
@@ -15,6 +15,7 @@
@interface ChromeEventProcessingWindow : NSWindow {
@private
BOOL redispatchingEvent_;
+ BOOL eventHandled_;
}
// Returns |YES| if |event| has been shortcircuited and should not be processed
@@ -25,7 +26,8 @@
// short-circuited to the RWHV. This is used to send keyboard events to the menu
// and the cmd-` handler if a keyboard event comes back unhandled from the
// renderer.
-- (void)redispatchEvent:(NSEvent*)event;
+// Returns |YES| if |event| has been handled.
+- (BOOL)redispatchEvent:(NSEvent*)event;
// See global_keyboard_shortcuts_mac.h for details on the next two functions.

Powered by Google App Engine
This is Rietveld 408576698