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

Unified Diff: ui/views/cocoa/native_widget_mac_nswindow.h

Issue 1255783002: [Mac] Factor out keyboard shortcut handling from ChromeEventProcessingWindow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@execute
Patch Set: And a couple more minor comment nits. Created 5 years, 4 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: ui/views/cocoa/native_widget_mac_nswindow.h
diff --git a/ui/views/cocoa/native_widget_mac_nswindow.h b/ui/views/cocoa/native_widget_mac_nswindow.h
index 943c3e20735d0b2c106bb6c698070572f6f1a950..8886654763e82f5d8ce9c50a234467148a9786f0 100644
--- a/ui/views/cocoa/native_widget_mac_nswindow.h
+++ b/ui/views/cocoa/native_widget_mac_nswindow.h
@@ -7,12 +7,16 @@
#import <Cocoa/Cocoa.h>
+#import "ui/base/cocoa/command_dispatcher.h"
#include "ui/views/views_export.h"
// The NSWindow used by BridgedNativeWidget. Provides hooks into AppKit that
// can only be accomplished by overriding methods.
VIEWS_EXPORT
-@interface NativeWidgetMacNSWindow : NSWindow
+@interface NativeWidgetMacNSWindow : NSWindow<CommandDispatchingWindow> {
+ @private
+ base::scoped_nsobject<CommandDispatcher> commandDispatcher_;
Robert Sesek 2015/08/27 23:25:23 Hide these ivars too.
jackhou1 2015/08/28 01:00:47 Done.
+}
@end
#endif // UI_VIEWS_COCOA_NATIVE_WIDGET_MAC_NSWINDOW_H_

Powered by Google App Engine
This is Rietveld 408576698