summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_controller_mac.h
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-21 22:04:44 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-21 22:04:44 +0000
commit88d749436bf04c540448065a1601ece53bfdb312 (patch)
tree4be4d6d86a0884932d13efd92a2a18d60a7f962f /chrome/browser/app_controller_mac.h
parent1c36b962d877273125d92c4996a136fc1ac7e806 (diff)
downloadchromium_src-88d749436bf04c540448065a1601ece53bfdb312.zip
chromium_src-88d749436bf04c540448065a1601ece53bfdb312.tar.gz
chromium_src-88d749436bf04c540448065a1601ece53bfdb312.tar.bz2
add basic command handling for browser window and for where there are no windows open. Can now create new browser windows.
Review URL: http://codereview.chromium.org/18458 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/app_controller_mac.h')
-rw-r--r--chrome/browser/app_controller_mac.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/app_controller_mac.h b/chrome/browser/app_controller_mac.h
index 09fa014..db562a3 100644
--- a/chrome/browser/app_controller_mac.h
+++ b/chrome/browser/app_controller_mac.h
@@ -7,11 +7,14 @@
#import <Cocoa/Cocoa.h>
+class CommandUpdater;
+
// The application controller object, created by loading the MainMenu nib.
// This handles things like responding to menus when there are no windows
// open, etc and acts as the NSApplication delegate.
-@interface AppController : NSObject {
+@interface AppController : NSObject<NSUserInterfaceValidations> {
@public
+ CommandUpdater* menuState_; // strong ref
}
- (IBAction)quit:(id)sender;