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

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

Issue 1259513002: [MacViews] Use ChromeCommandDispatcherDelegate to handle keyboard shortcuts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@commandexecute
Patch Set: Sync. 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 8886654763e82f5d8ce9c50a234467148a9786f0..527596c40099cd2504ff16ad0b7b5ec589562aa0 100644
--- a/ui/views/cocoa/native_widget_mac_nswindow.h
+++ b/ui/views/cocoa/native_widget_mac_nswindow.h
@@ -17,6 +17,10 @@ VIEWS_EXPORT
@private
base::scoped_nsobject<CommandDispatcher> commandDispatcher_;
}
+
+// Set a CommandDispatcherDelegate, i.e. to implement key event handling.
+- (void)setCommandDispatcherDelegate:(id<CommandDispatcherDelegate>)delegate;
+
@end
#endif // UI_VIEWS_COCOA_NATIVE_WIDGET_MAC_NSWINDOW_H_

Powered by Google App Engine
This is Rietveld 408576698