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

Unified Diff: chrome/browser/ui/cocoa/browser_window_utils.h

Issue 10383239: Move NativeWebKeyboardEvent to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 7 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
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/cocoa/browser_window_utils.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/cocoa/browser_window_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698