Index: chrome/browser/ui/intents/web_intent_picker.h |
diff --git a/chrome/browser/ui/intents/web_intent_picker.h b/chrome/browser/ui/intents/web_intent_picker.h |
index 994bbfdb862d5c218722b41075d40f465c949aec..b69fa79172a068badd071118754baca67201bb25 100644 |
--- a/chrome/browser/ui/intents/web_intent_picker.h |
+++ b/chrome/browser/ui/intents/web_intent_picker.h |
@@ -43,6 +43,9 @@ class WebIntentPicker { |
// Called when an extension installation started via the picker has failed. |
virtual void OnExtensionInstallFailure(const std::string& id) {} |
+ // Called when the inline disposition experiences an auto-resize. |
+ virtual void OnInlineDispositionAutoResize(const gfx::Size& size) {} |
+ |
// Called when the controller has finished all pending asynchronous |
// activities. |
virtual void OnPendingAsyncCompleted() {} |
@@ -55,6 +58,12 @@ class WebIntentPicker { |
static gfx::Size GetDefaultInlineDispositionSize( |
content::WebContents* web_contents); |
+ // Get the minimum size of the inline disposition content container. |
+ static gfx::Size GetMinInlineDispositionSize(); |
+ |
+ // Get the maximum size of the inline disposition content container. |
+ static gfx::Size GetMaxInlineDispositionSize(); |
+ |
// Get the star image IDs to use for the nth star (out of 5), given a |
// |rating| in the range [0, 5]. |
static int GetNthStarImageIdFromCWSRating(double rating, int index); |