| Index: chrome/browser/instant/instant_controller.h
|
| diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
|
| index 7c9f11c834bf9191966b2bb3bd1ce88cf990caac..6e08215b4325763e1576e8e7517f39765f283008 100644
|
| --- a/chrome/browser/instant/instant_controller.h
|
| +++ b/chrome/browser/instant/instant_controller.h
|
| @@ -91,7 +91,10 @@ class InstantController {
|
| const string16& full_text,
|
| bool verbatim);
|
|
|
| - // Sets the bounds of the omnibox dropdown, in screen coordinates.
|
| + // Sets the bounds of the omnibox popup, in screen coordinates.
|
| + void SetPopupBounds(const gfx::Rect& bounds);
|
| +
|
| + // Sets the bounds of the omnibox itself, in screen coordinates.
|
| void SetOmniboxBounds(const gfx::Rect& bounds);
|
|
|
| // Send autocomplete results from |providers| to the preview page.
|
| @@ -208,7 +211,7 @@ class InstantController {
|
| // the given |height|.
|
| void Show(InstantShownReason reason, int height, InstantSizeUnits units);
|
|
|
| - // Send the omnibox dropdown bounds to the page.
|
| + // Send the omnibox popup bounds to the page.
|
| void SendBoundsToPage();
|
|
|
| // If |template_url| is a valid TemplateURL for use with Instant, fills in
|
| @@ -253,12 +256,15 @@ class InstantController {
|
| // True if the active tab in the current window is the NTP, false otherwise.
|
| bool active_tab_is_ntp_;
|
|
|
| + // Current omnibox popup bounds.
|
| + gfx::Rect popup_bounds_;
|
| +
|
| + // Last popup bounds passed to the page.
|
| + gfx::Rect last_popup_bounds_;
|
| +
|
| // Current omnibox bounds.
|
| gfx::Rect omnibox_bounds_;
|
|
|
| - // Last bounds passed to the page.
|
| - gfx::Rect last_omnibox_bounds_;
|
| -
|
| // Timer used to update the bounds of the omnibox.
|
| base::OneShotTimer<InstantController> update_bounds_timer_;
|
|
|
|
|