From f11695a0b2eeb605fa9f21bcf5c991ef1bcc765a Mon Sep 17 00:00:00 2001 From: "pinkerton@chromium.org" Date: Fri, 27 Feb 2009 19:47:51 +0000 Subject: Add "stop" image to project. Clean up project so app/theme is a proper group and its children could be relative to it rather than their grandparent. Plumb loading status into Mac controllers. Add more loading status info to stub TabContents. Make browser window a little taller and wider so NTP didn't show scrollbars. Review URL: http://codereview.chromium.org/31017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10621 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/cocoa/tab_contents_controller.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'chrome/browser/cocoa/tab_contents_controller.h') diff --git a/chrome/browser/cocoa/tab_contents_controller.h b/chrome/browser/cocoa/tab_contents_controller.h index 86f6b0c..de58708 100644 --- a/chrome/browser/cocoa/tab_contents_controller.h +++ b/chrome/browser/cocoa/tab_contents_controller.h @@ -35,8 +35,9 @@ class ToolbarModel; ToolbarModel* toolbarModel_; // weak, one per window IBOutlet NSButton* backButton_; IBOutlet NSButton* forwardButton_; - IBOutlet NSButton* reloadStopButton_; + IBOutlet NSButton* reloadButton_; IBOutlet NSButton* starButton_; + IBOutlet NSButton* goButton_; IBOutlet NSTextField* locationBar_; IBOutlet NSBox* contentsBox_; IBOutlet GrowBoxView* growBox_; @@ -78,6 +79,10 @@ class ToolbarModel; // in the coordinate system of the content area of this tab. - (NSRect)growBoxRect; +// Called to update the loading state. Handles updating the go/stop button +// state. +- (void)setIsLoading:(BOOL)isLoading; + @end #endif // CHROME_BROWSER_COCOA_TAB_COTNENTS_CONTROLLER_H_ -- cgit v1.1