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

Unified Diff: chrome/browser/ui/cocoa/browser_window_layout.h

Issue 1305143008: [Mac] Implement LocationBarViewMac::UpdateLocationBarVisibility() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment Created 5 years, 2 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
Index: chrome/browser/ui/cocoa/browser_window_layout.h
diff --git a/chrome/browser/ui/cocoa/browser_window_layout.h b/chrome/browser/ui/cocoa/browser_window_layout.h
index 82cf1f9cfe6cf6148d50e30600a44477aa9e3379..13f22bfb95159cc9eacd4f432b93c560f6d3cfc1 100644
--- a/chrome/browser/ui/cocoa/browser_window_layout.h
+++ b/chrome/browser/ui/cocoa/browser_window_layout.h
@@ -52,6 +52,9 @@ struct LayoutParameters {
// superview. Only needs to be set when shouldShowAvatar is YES.
CGFloat avatarLineWidth;
tapted 2015/10/12 23:56:43 nit: remove newline
+ // Hosted apps hide and show the toolbar (location bar) independently of
+ // whether it is available as a browser feature.
+ BOOL toolbarHidden;
tapted 2015/10/12 23:56:43 nit: newline after (otherwise it looks like the co
tapted 2015/10/13 00:00:19 Also, maybe this can be obsoleted by setting toolb
dominickn 2015/10/15 06:22:28 Changes discarded.
BOOL hasToolbar;
BOOL hasLocationBar;
CGFloat toolbarHeight;
@@ -159,6 +162,7 @@ struct LayoutOutput {
- (void)setAvatarSize:(NSSize)avatarSize;
- (void)setAvatarLineWidth:(CGFloat)avatarLineWidth;
+- (void)setToolbarHidden:(BOOL)toolbarHidden;
- (void)setHasToolbar:(BOOL)hasToolbar;
- (void)setHasLocationBar:(BOOL)hasLocationBar;
- (void)setToolbarHeight:(CGFloat)toolbarHeight;

Powered by Google App Engine
This is Rietveld 408576698