summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_instant_controller.h
diff options
context:
space:
mode:
authorkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 17:58:58 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 17:58:58 +0000
commit553c7af97cec49fa9655ce11b53eee72412925bc (patch)
tree1e6d36d14ab3f10883c39e3f5fe36e380798af2a /chrome/browser/ui/browser_instant_controller.h
parent52186d0fad83b466f11165590f9b89fa549264d3 (diff)
downloadchromium_src-553c7af97cec49fa9655ce11b53eee72412925bc.zip
chromium_src-553c7af97cec49fa9655ce11b53eee72412925bc.tar.gz
chromium_src-553c7af97cec49fa9655ce11b53eee72412925bc.tar.bz2
Store the omnibox start margin information in InstantService. When the omnibox bounds changes, InstantService notifies the observers about the margin change event. SearchTabHelper listens for the margin change event and sends a message to the underlying Instant page about the new start margin value.
As a prep to remove redundant Instant-related query params from search URLs, SearchTabHelper sends the margin information to the renderer process as soon as the navigation entry is committed. BUG=247517 TEST=none Review URL: https://codereview.chromium.org/148383012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249435 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_instant_controller.h')
-rw-r--r--chrome/browser/ui/browser_instant_controller.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/ui/browser_instant_controller.h b/chrome/browser/ui/browser_instant_controller.h
index 6af5d03..d9c70ca 100644
--- a/chrome/browser/ui/browser_instant_controller.h
+++ b/chrome/browser/ui/browser_instant_controller.h
@@ -21,10 +21,6 @@ namespace content {
class WebContents;
}
-namespace gfx {
-class Rect;
-}
-
class BrowserInstantController : public SearchModelObserver,
public InstantServiceObserver {
public:
@@ -51,9 +47,6 @@ class BrowserInstantController : public SearchModelObserver,
// Invoked by |browser_| when the active tab is about to be deactivated.
void TabDeactivated(content::WebContents* contents);
- // Sets the stored omnibox bounds.
- void SetOmniboxBounds(const gfx::Rect& bounds);
-
private:
// Overridden from search::SearchModelObserver:
virtual void ModelChanged(const SearchModel::State& old_state,