diff options
author | jered@chromium.org <jered@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-03 23:09:12 +0000 |
---|---|---|
committer | jered@chromium.org <jered@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-03 23:09:12 +0000 |
commit | d58688c6401ddc2f3e34c2728b014ce8d8ca426d (patch) | |
tree | 053a088f588ed8b79e826aee5ae668e59b7b42df /chrome/browser/ui/browser_instant_controller.h | |
parent | baf3e1fa68088227b84c8186ef3c295d1d9aaee0 (diff) | |
download | chromium_src-d58688c6401ddc2f3e34c2728b014ce8d8ca426d.zip chromium_src-d58688c6401ddc2f3e34c2728b014ce8d8ca426d.tar.gz chromium_src-d58688c6401ddc2f3e34c2728b014ce8d8ca426d.tar.bz2 |
InstantExtended: Remove overlay control code.
This change deletes the browser-side InstantController code pertaining
to old Instant, the HTML popup and search results overlay. A lot of UI
and renderer code is still lingering and doing nothing, but I'll get
that in another CL.
TEST=Manually. Verify that InstantExtended NTP and searching works, and
that normal Chrome is unaffected.
BUG=251262
TBR=samarth@chromium.org,pkasting@chromium.org,brettw@chromium.org
Review URL: https://codereview.chromium.org/18516011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210062 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_instant_controller.h')
-rw-r--r-- | chrome/browser/ui/browser_instant_controller.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/chrome/browser/ui/browser_instant_controller.h b/chrome/browser/ui/browser_instant_controller.h index 0ffaf10..0f9414f 100644 --- a/chrome/browser/ui/browser_instant_controller.h +++ b/chrome/browser/ui/browser_instant_controller.h @@ -58,27 +58,11 @@ class BrowserInstantController // this BrowserInstantController. InstantController* instant() { return &instant_; } - // Invoked by |instant_| to commit the |overlay| by merging it into the active - // tab or adding it as a new tab. - void CommitInstant(scoped_ptr<content::WebContents> overlay, bool in_new_tab); - - // Invoked by |instant_| to autocomplete the |suggestion| into the omnibox. - void SetInstantSuggestion(const InstantSuggestion& suggestion); - - // Invoked by |instant_| to get the bounds that the overlay is placed at, - // in screen coordinates. - gfx::Rect GetInstantBounds(); - - // Invoked by |instant_| to notify that the overlay gained focus, usually due - // to the user clicking on it. - void InstantOverlayFocused(); - // Invoked by |instant_| to give the omnibox focus, with the option of making // the caret invisible. void FocusOmnibox(bool caret_visibility); - // Invoked by |instant_| to get the currently active tab, over which the - // overlay would be shown. + // Invoked by |instant_| to get the currently active tab. content::WebContents* GetActiveWebContents() const; // Invoked by |browser_| when the active tab changes. |