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

Unified Diff: chrome/browser/instant/instant_controller_delegate.h

Issue 10915217: Hook up SetInstantPreviewHeight for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More comments. 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
Index: chrome/browser/instant/instant_controller_delegate.h
diff --git a/chrome/browser/instant/instant_controller_delegate.h b/chrome/browser/instant/instant_controller_delegate.h
index 908dd7e746ceffc6bcdf79ccc2f6871439699f1d..247eb7b88e8ab8cd72914d5d31bf76380203bae4 100644
--- a/chrome/browser/instant/instant_controller_delegate.h
+++ b/chrome/browser/instant/instant_controller_delegate.h
@@ -44,6 +44,10 @@ class InstantControllerDelegate {
// clicking on it.
virtual void InstantPreviewFocused() = 0;
+ // Resize the Instant preview to the given |height|, interpreting the height
+ // to be in the given |units| (see instant_types.h for details).
+ virtual void SetInstantPreviewHeight(int height, InstantSizeUnits units) = 0;
+
// Return the currently active tab, over which any preview would be shown.
virtual TabContents* GetActiveTabContents() const = 0;

Powered by Google App Engine
This is Rietveld 408576698