| Index: chrome/browser/ui/cocoa/browser_window_utils.h
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/browser_window_utils.h (revision 137859)
|
| +++ chrome/browser/ui/cocoa/browser_window_utils.h (working copy)
|
| @@ -9,16 +9,19 @@
|
| #import <Cocoa/Cocoa.h>
|
|
|
| class Browser;
|
| +
|
| +namespace content {
|
| struct NativeWebKeyboardEvent;
|
| +}
|
|
|
| @interface BrowserWindowUtils : NSObject
|
|
|
| // Returns YES if keyboard event should be handled.
|
| -+ (BOOL)shouldHandleKeyboardEvent:(const NativeWebKeyboardEvent&)event;
|
| ++ (BOOL)shouldHandleKeyboardEvent:(const content::NativeWebKeyboardEvent&)event;
|
|
|
| // Determines the command associated with the keyboard event.
|
| // Returns -1 if no command found.
|
| -+ (int)getCommandId:(const NativeWebKeyboardEvent&)event;
|
| ++ (int)getCommandId:(const content::NativeWebKeyboardEvent&)event;
|
|
|
| // NSWindow must be a ChromeEventProcessingWindow.
|
| + (BOOL)handleKeyboardEvent:(NSEvent*)event
|
|
|