summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/browser_command_executor.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/browser_command_executor.h')
-rw-r--r--chrome/browser/cocoa/browser_command_executor.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/browser_command_executor.h b/chrome/browser/cocoa/browser_command_executor.h
new file mode 100644
index 0000000..4a76ff1
--- /dev/null
+++ b/chrome/browser/cocoa/browser_command_executor.h
@@ -0,0 +1,15 @@
+// Copyright (c) 2009 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_BROWSER_COMMAND_EXECUTOR_H_
+#define CHROME_BROWSER_BROWSER_COMMAND_EXECUTOR_H_
+
+// Defines a protocol for any object that can execute commands in the
+// context of some underlying browser object.
+@protocol BrowserCommandExecutor
+- (void)executeCommand:(int)command;
+@end
+
+#endif // CHROME_BROWSER_BROWSER_COMMAND_EXECUTOR_H_
+