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

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_container_controller.h

Issue 555243002: mac: Refactor browser_window_controller layout logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fullscreen_layout
Patch Set: Comments from rsesek. Created 6 years, 3 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/infobars/infobar_container_controller.h
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h
index a0f52e398e96f58e4a947b7093a235638cddbf4a..111c77ca5c9cf4446b1560f9429a0cae681629e5 100644
--- a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h
+++ b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h
@@ -58,11 +58,6 @@ class InfoBarDelegate;
// If YES then an infobar animation is in progress.
BOOL isAnimating_;
-
- // The last overlap tip height. This is used to ensure that the info bar
- // position is updated if the infobar height doesn't change but the overlap
- // does change.
- int oldOverlappingTipHeight_;
}
@property(nonatomic, assign) BOOL shouldSuppressTopInfoBarTip;
@@ -95,6 +90,9 @@ class InfoBarDelegate;
// Set the max arrow height of the top infobar.
- (void)setMaxTopArrowHeight:(NSInteger)height;
+// The height of all the info bars. Does not include the top arrow.
+- (CGFloat)heightOfInfoBars;
+
@end
#endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698