diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-06 21:12:59 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-06 21:12:59 +0000 |
commit | 983cc0c99803c960174992c0f4217e077565094d (patch) | |
tree | d9fd87db12bfaec401e002732e0ca4b797616876 /chrome/browser/cocoa/tab_contents_controller.h | |
parent | 58adf848df7ad7a724be0526e25196ba6adee0e9 (diff) | |
download | chromium_src-983cc0c99803c960174992c0f4217e077565094d.zip chromium_src-983cc0c99803c960174992c0f4217e077565094d.tar.gz chromium_src-983cc0c99803c960174992c0f4217e077565094d.tar.bz2 |
Ensure toolbar buttons are in sync with command updater when tab becomes selected. Remove a NOTIMPLEMENTED that shouldn't be there.
Review URL: http://codereview.chromium.org/20138
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_contents_controller.h')
-rw-r--r-- | chrome/browser/cocoa/tab_contents_controller.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/tab_contents_controller.h b/chrome/browser/cocoa/tab_contents_controller.h index 51878a1..2d3f110 100644 --- a/chrome/browser/cocoa/tab_contents_controller.h +++ b/chrome/browser/cocoa/tab_contents_controller.h @@ -50,6 +50,11 @@ class TabStripModel; // Get the C++ bridge object representing the location bar for this tab. - (LocationBar*)locationBar; +// Called when the tab contents is about to be put into the view hierarchy as +// the selected tab. Handles things such as ensuring the toolbar is correctly +// enabled. +- (void)willBecomeSelectedTab; + @end #endif // CHROME_BROWSER_COCOA_TAB_COTNENTS_CONTROLLER_H_ |