| Index: chrome/browser/cocoa/chrome_event_processing_window.h
|
| diff --git a/chrome/browser/cocoa/chrome_event_processing_window.h b/chrome/browser/cocoa/chrome_event_processing_window.h
|
| index b3cc1164609adf24c8166a20c3e24d15efefe020..59241b728a18e3eee8061a11d7f53e75acd84a28 100644
|
| --- a/chrome/browser/cocoa/chrome_event_processing_window.h
|
| +++ b/chrome/browser/cocoa/chrome_event_processing_window.h
|
| @@ -12,7 +12,20 @@
|
| // Override NSWindow to access unhandled keyboard events (for command
|
| // processing); subclassing NSWindow is the only method to do
|
| // this.
|
| -@interface ChromeEventProcessingWindow : NSWindow
|
| +@interface ChromeEventProcessingWindow : NSWindow {
|
| + @private
|
| + BOOL redispatchingEvent_;
|
| +}
|
| +
|
| +// Returns |YES| if |event| has been shortcircuited and should not be processed
|
| +// further.
|
| +- (BOOL)shortcircuitEvent:(NSEvent*)event;
|
| +
|
| +// Sends an event to |NSApp sendEvent:|, but also makes sure that it's not
|
| +// 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;
|
|
|
| // See global_keyboard_shortcuts_mac.h for details on the next two functions.
|
|
|
|
|