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

Unified Diff: chrome/browser/ui/views/frame/contents_container.h

Issue 13974003: alternate ntp: fix content origin when overlay shrinks to shorter than top bars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/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 410ec0c10c9eb79bc0696e630ce689bd7b8f460a..532ffdb2817ddc8a331571120e40795a1517ca4a 100644
--- a/chrome/browser/ui/views/frame/contents_container.h
+++ b/chrome/browser/ui/views/frame/contents_container.h
@@ -32,7 +32,8 @@ class ContentsContainer : public views::View,
// Internal class name
static const char kViewClassName[];
- explicit ContentsContainer(views::WebView* active);
+ explicit ContentsContainer(views::WebView* active,
+ views::View* browser_view);
virtual ~ContentsContainer();
// Makes the overlay view the active view and nulls out the old active view.
@@ -86,6 +87,7 @@ class ContentsContainer : public views::View,
const content::NotificationDetails& details) OVERRIDE;
views::WebView* active_;
+ views::View* browser_view_;
views::WebView* overlay_;
scoped_ptr<views::View> shadow_view_;
content::WebContents* overlay_web_contents_;

Powered by Google App Engine
This is Rietveld 408576698