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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h

Issue 12594015: Alternate NTP Mac: Push down overlay in presentation mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/tab_contents/overlayable_contents_controller.h
diff --git a/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h b/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h
index 769aea72433610c8797ea326e7fe0fdfe6f027b5..1e7c8590e0f81269348850b687100c1ec5009eba 100644
--- a/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h
+++ b/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h
@@ -63,12 +63,18 @@ class WebContents;
// this is set to the height of the bookmark bar so that the bookmark bar is
// not obscured.
CGFloat activeContainerOffset_;
+
+ // The vertical offset between the top of the view and the overlay. This is
+ // used in presentation mode to push the overlay below the floating toolbar
+ // view.
+ CGFloat overlayContentsOffset_;
}
@property(readonly, nonatomic) NSView* activeContainer;
@property(readonly, nonatomic) NSView* dropShadowView;
@property(readonly, nonatomic) BOOL drawDropShadow;
@property(assign, nonatomic) CGFloat activeContainerOffset;
+@property(assign, nonatomic) CGFloat overlayContentsOffset;
// Initialization.
- (id)initWithBrowser:(Browser*)browser

Powered by Google App Engine
This is Rietveld 408576698