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

Unified Diff: chrome/browser/ui/search/instant_page.h

Issue 18223002: InstantExtended: Remove overlay control code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Call renamed method. Created 7 years, 6 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
« no previous file with comments | « chrome/browser/ui/search/instant_overlay_model.cc ('k') | chrome/browser/ui/search/instant_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_page.h
diff --git a/chrome/browser/ui/search/instant_page.h b/chrome/browser/ui/search/instant_page.h
index 010a5caa46de59abcb7973b29ec874c7c9b38914..bf60ccb08f433b87db4ed491e9354128b7a7dff8 100644
--- a/chrome/browser/ui/search/instant_page.h
+++ b/chrome/browser/ui/search/instant_page.h
@@ -33,8 +33,8 @@ class Rect;
// InstantPage is used to exchange messages with a page that implements the
// Instant/Embedded Search API (http://dev.chromium.org/embeddedsearch).
-// InstantPage is not used directly but via one of its derived classes:
-// InstantOverlay, InstantNTP and InstantTab.
+// InstantPage is not used directly but via one of its derived classes,
+// InstantNTP and InstantTab.
class InstantPage : public content::WebContentsObserver,
public SearchModelObserver {
public:
@@ -61,22 +61,6 @@ class InstantPage : public content::WebContentsObserver,
const content::WebContents* contents,
const GURL& url) = 0;
- // Called when the page has suggestions. Usually in response to Update(),
- // SendAutocompleteResults() or UpOrDownKeyPressed().
- virtual void SetSuggestions(
- const content::WebContents* contents,
- const std::vector<InstantSuggestion>& suggestions) = 0;
-
- // Called when the page wants to be shown. Usually in response to Update()
- // or SendAutocompleteResults().
- virtual void ShowInstantOverlay(const content::WebContents* contents,
- int height,
- InstantSizeUnits units) = 0;
-
- // Called when the page shows suggestions for logging purposes, regardless
- // of whether the page is processing the call.
- virtual void LogDropdownShown() = 0;
-
// Called when the page wants the omnibox to be focused. |state| specifies
// the omnibox focus state.
virtual void FocusOmnibox(const content::WebContents* contents,
@@ -149,8 +133,6 @@ class InstantPage : public content::WebContentsObserver,
// choose to ignore some or all of the received messages by overriding these
// methods.
virtual bool ShouldProcessAboutToNavigateMainFrame();
- virtual bool ShouldProcessSetSuggestions();
- virtual bool ShouldProcessShowInstantOverlay();
virtual bool ShouldProcessFocusOmnibox();
virtual bool ShouldProcessNavigateToURL();
virtual bool ShouldProcessDeleteMostVisitedItem();
@@ -197,11 +179,6 @@ class InstantPage : public content::WebContentsObserver,
// Update the status of Instant support.
void InstantSupportDetermined(bool supports_instant);
- void OnSetSuggestions(int page_id,
- const std::vector<InstantSuggestion>& suggestions);
- void OnShowInstantOverlay(int page_id,
- int height,
- InstantSizeUnits units);
void OnFocusOmnibox(int page_id, OmniboxFocusState state);
void OnSearchBoxNavigate(int page_id,
const GURL& url,
« no previous file with comments | « chrome/browser/ui/search/instant_overlay_model.cc ('k') | chrome/browser/ui/search/instant_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698