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

Unified Diff: chrome/browser/ui/gtk/browser_window_gtk.cc

Issue 10915217: Hook up SetInstantPreviewHeight for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move hidden notification, too. Created 8 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
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/browser_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc
index 01e2b00193fc4188723717254dc3e61bab97fd11..73ba57a3cfab8d94dca885f0a0755c24da20add6 100644
--- a/chrome/browser/ui/gtk/browser_window_gtk.cc
+++ b/chrome/browser/ui/gtk/browser_window_gtk.cc
@@ -1134,7 +1134,11 @@ void BrowserWindowGtk::Paste() {
window_, chrome::GetActiveWebContents(browser_.get()));
}
-void BrowserWindowGtk::ShowInstant(TabContents* preview) {
+void BrowserWindowGtk::ShowInstant(TabContents* preview,
+ int height,
+ InstantSizeUnits units) {
+ // TODO(jered): Support height < 100%.
+ DCHECK(height == 100 && units == INSTANT_SIZE_PERCENT);
contents_container_->SetPreview(preview);
MaybeShowBookmarkBar(false);
}
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698