diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 19:50:29 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 19:50:29 +0000 |
commit | c4f7dfb44992c8fb9139133107e0ac9200edf241 (patch) | |
tree | e6ca6cdc567628d3481d96d56e24d58359148631 /chrome/browser/cocoa/browser_command_executor.h | |
parent | 25e979d39063ea83e0635010a3204aa6ec0b166b (diff) | |
download | chromium_src-c4f7dfb44992c8fb9139133107e0ac9200edf241.zip chromium_src-c4f7dfb44992c8fb9139133107e0ac9200edf241.tar.gz chromium_src-c4f7dfb44992c8fb9139133107e0ac9200edf241.tar.bz2 |
Implemented most of HtmlDialogWindowController, which is a Cocoa port
of HtmlDialogView.
Added TODO to fix inaccurate font height metric for OS X font class (and maybe width).
Added the BrowserCommandExecutor protocol so that not just a
BrowserWindowController can be the window controller for a
ChromeEventProcessingWindow.
Added unittests. Also tested manually with the bookmark sync setup
wizard dialog.
BUG=23073
TEST=added unittests, trybot, and manual testing
Review URL: http://codereview.chromium.org/344008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30619 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_command_executor.h')
-rw-r--r-- | chrome/browser/cocoa/browser_command_executor.h | 15 |
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_ + |