Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Unified Diff: chrome/browser/cocoa/toolbar_controller.h

Issue 155444: Mac pop-up window happier-ness.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/tab_window_controller.mm ('k') | chrome/browser/cocoa/toolbar_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/toolbar_controller.h
===================================================================
--- chrome/browser/cocoa/toolbar_controller.h (revision 20638)
+++ chrome/browser/cocoa/toolbar_controller.h (working copy)
@@ -54,6 +54,7 @@
scoped_ptr<ToolbarControllerInternal::PrefObserverBridge> prefObserver_;
BooleanPrefMember showHomeButton_;
BooleanPrefMember showPageOptionButtons_;
+ BOOL hasToolbar_; // if NO, we only have the location bar.
IBOutlet NSMenu* pageMenu_;
IBOutlet NSMenu* wrenchMenu_;
@@ -106,6 +107,11 @@
// state.
- (void)setIsLoading:(BOOL)isLoading;
+// Allow turning off the toolbar (but we keep the location bar
+// around). This changes the behavior of other methods, like
+// [self view].
+- (void)setHasToolbar:(BOOL)toolbar;
+
// Return the bookmark bar controller.
- (BookmarkBarController*)bookmarkBarController;
« no previous file with comments | « chrome/browser/cocoa/tab_window_controller.mm ('k') | chrome/browser/cocoa/toolbar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698