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

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

Issue 1250403002: [Mac] Move UI item validation to UserInterfaceItemCommandHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@commandexecute
Patch Set: Properly release |commandHandler|. 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_command_handler.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_command_handler.h
diff --git a/chrome/browser/ui/cocoa/browser_window_command_handler.h b/chrome/browser/ui/cocoa/browser_window_command_handler.h
new file mode 100644
index 0000000000000000000000000000000000000000..053d7e0717b0962c31624fbed6cfa1a205cc8089
--- /dev/null
+++ b/chrome/browser/ui/cocoa/browser_window_command_handler.h
@@ -0,0 +1,18 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COMMAND_HANDLER_H_
+#define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COMMAND_HANDLER_H_
+
+#import <Foundation/Foundation.h>
+
+#import "ui/base/cocoa/user_interface_item_command_handler.h"
+
+// Implement UserInterfaceItemCommandHandler by validating items using global
+// chrome:: functions and executing commands with chrome::ExecuteCommand().
+@interface BrowserWindowCommandHandler
+ : NSObject<UserInterfaceItemCommandHandler>
+@end
+
+#endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COMMAND_HANDLER_H_
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_command_handler.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698