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

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: Minor fixes. 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..ee625335458281c70522c871c4eb2f471cab66c1 100644
--- a/chrome/browser/instant/instant_controller_delegate.h
+++ b/chrome/browser/instant/instant_controller_delegate.h
@@ -32,6 +32,9 @@ class InstantControllerDelegate {
// ownership of |preview|.
virtual void CommitInstant(TabContents* preview) = 0;
+ // Resize the preview.
+ virtual void SetInstantPreviewHeight(int height, InstantSizeUnits units) = 0;
+
// Autocomplete the Instant suggested |text| into the omnibox, using the
// specified |behavior| (see instant_types.h for details).
virtual void SetSuggestedText(const string16& text,

Powered by Google App Engine
This is Rietveld 408576698