| Index: chrome/browser/ui/views/frame/contents_container.h
|
| diff --git a/chrome/browser/ui/views/frame/contents_container.h b/chrome/browser/ui/views/frame/contents_container.h
|
| index afb127ea6474982b60b42094dfd151c921633e39..f8aa09ab188afbbc16c0f79eed6ecf6fa5f5220e 100644
|
| --- a/chrome/browser/ui/views/frame/contents_container.h
|
| +++ b/chrome/browser/ui/views/frame/contents_container.h
|
| @@ -58,10 +58,11 @@ class ContentsContainer : public views::View,
|
| return overlay_ ? overlay_->bounds().height() : 0;
|
| }
|
|
|
| - // Sets the active top margin; the active WebView's y origin would be
|
| - // positioned at this |margin|, causing the active WebView to be pushed down
|
| - // vertically by |margin| pixels in the |ContentsContainer|.
|
| - void SetActiveTopMargin(int margin);
|
| + // Sets vertical offsets for the web views. |active_| is pushed down by
|
| + // |active_top_margin| pixels and |overlay_| is pushed down by
|
| + // |overlay_top_margin| pixels within this container.
|
| + void SetWebViewsTopMargins(int active_top_margin,
|
| + int overlay_top_margin);
|
|
|
| // Returns the bounds the overlay would be shown at.
|
| gfx::Rect GetOverlayBounds() const;
|
| @@ -90,6 +91,11 @@ class ContentsContainer : public views::View,
|
| // overlay overlap the bookmark bar on the new tab page.
|
| int active_top_margin_;
|
|
|
| + // The margin between the top of this view and the overlay view. Used to
|
| + // push down the instant extended suggestions during an immersive fullscreen
|
| + // reveal.
|
| + int overlay_top_margin_;
|
| +
|
| // The desired height of the overlay and units.
|
| int overlay_height_;
|
| InstantSizeUnits overlay_height_units_;
|
|
|