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

Unified Diff: chrome/browser/ui/views/frame/browser_frame_mac.h

Issue 1250403002: [Mac] Move UI item validation to UserInterfaceItemCommandHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@commandexecute
Patch Set: Split out BrowserWindowCommandHandler and only use it in browser windows. 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/views/frame/browser_frame_mac.h
diff --git a/chrome/browser/ui/views/frame/browser_frame_mac.h b/chrome/browser/ui/views/frame/browser_frame_mac.h
index bee39dd5b3224f86c26103d493f53f9d78c0e28d..d1450d12ec7a6db0c2d34ec727d040561c56a66f 100644
--- a/chrome/browser/ui/views/frame/browser_frame_mac.h
+++ b/chrome/browser/ui/views/frame/browser_frame_mac.h
@@ -12,6 +12,7 @@
class BrowserFrame;
class BrowserView;
+@class BrowserWindowCommandHandler;
@class ChromeCommandDispatcherDelegate;
////////////////////////////////////////////////////////////////////////////////
@@ -50,6 +51,7 @@ class BrowserFrameMac : public views::NativeWidgetMac,
BrowserView* browser_view_; // Weak. Our ClientView.
base::scoped_nsobject<ChromeCommandDispatcherDelegate>
command_dispatcher_delegate_;
+ base::scoped_nsobject<BrowserWindowCommandHandler> command_handler_;
DISALLOW_COPY_AND_ASSIGN(BrowserFrameMac);
};

Powered by Google App Engine
This is Rietveld 408576698