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

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

Issue 11428083: Stack preview back at top after an active contents switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 9f57a03f21fcc9286f324fde43cec38cd1d4f14a..600124866481093e3806b2b3bb98286b4e2e016e 100644
--- a/chrome/browser/ui/views/frame/contents_container.h
+++ b/chrome/browser/ui/views/frame/contents_container.h
@@ -45,6 +45,10 @@ class ContentsContainer : public views::View {
int height,
InstantSizeUnits units);
+ // When the active content is reset and we have a visible preview,
+ // the preview must be stacked back at top.
+ void MaybeStackPreviewAtTop();
+
content::WebContents* preview_web_contents() const {
return preview_web_contents_;
}

Powered by Google App Engine
This is Rietveld 408576698