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

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

Issue 1250403002: [Mac] Move UI item validation to UserInterfaceItemCommandHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@commandexecute
Patch Set: Sync Created 5 years, 3 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: chrome/browser/ui/cocoa/chrome_event_processing_window.h
diff --git a/chrome/browser/ui/cocoa/chrome_event_processing_window.h b/chrome/browser/ui/cocoa/chrome_event_processing_window.h
index a5f65cb1003ac0e3ad2bfa77c054541d3cd3d358..ffef834c8c38d44d52edc9309df54ccfa424704f 100644
--- a/chrome/browser/ui/cocoa/chrome_event_processing_window.h
+++ b/chrome/browser/ui/cocoa/chrome_event_processing_window.h
@@ -17,7 +17,8 @@
// processing); subclassing NSWindow is the only method to do
// this.
@interface ChromeEventProcessingWindow
- : UnderlayOpenGLHostingWindow<CommandDispatchingWindow>
+ : UnderlayOpenGLHostingWindow<CommandDispatchingWindow,
+ NSUserInterfaceValidations>
tapted 2015/09/03 04:15:38 NSWindow already conforms to NSUserInterfaceValida
jackhou1 2015/09/03 06:15:39 Done.
// Checks if |event| is a window, delayed window, or browser keyboard shortcut.
// (See global_keyboard_shortcuts_mac.h for details). If so, execute the

Powered by Google App Engine
This is Rietveld 408576698