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

Unified Diff: chrome/browser/ui/browser_window.h

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/browser_instant_controller.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index efa96cab66a5f9c88053005992582ec37327b7f2..d0ab1ba7ebfdcf50acc09e434f4e859327123c96 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -12,6 +12,7 @@
#include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h"
#include "chrome/browser/ui/sync/one_click_signin_sync_starter.h"
#include "chrome/common/content_settings_types.h"
+#include "chrome/common/instant_types.h"
#include "ui/gfx/native_widget_types.h"
#include "webkit/glue/window_open_disposition.h"
@@ -323,10 +324,12 @@ class BrowserWindow : public BaseWindow {
virtual bool InPresentationMode() = 0;
#endif
- // Invoked when instant's tab contents should be shown.
- virtual void ShowInstant(TabContents* preview) = 0;
+ // Invoked when instant's tab contents should be shown with given |height|.
+ virtual void ShowInstant(TabContents* preview,
+ int height,
+ InstantSizeUnits units) = 0;
- // Invoked when the instant's tab contents should be hidden.
+ // Invoked when instant's tab contents should be hidden.
virtual void HideInstant() = 0;
// Returns the desired bounds for instant in screen coordinates. Note that if
« no previous file with comments | « chrome/browser/ui/browser_instant_controller.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698