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

Unified Diff: chrome/browser/ui/omnibox/omnibox_controller.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
Index: chrome/browser/ui/omnibox/omnibox_controller.h
diff --git a/chrome/browser/ui/omnibox/omnibox_controller.h b/chrome/browser/ui/omnibox/omnibox_controller.h
index f877d332766a6fea6d65333f665cbbfe1bbba2dc..2259ae7f65d26b76694391607dd207098a5b63f8 100644
--- a/chrome/browser/ui/omnibox/omnibox_controller.h
+++ b/chrome/browser/ui/omnibox/omnibox_controller.h
@@ -57,16 +57,6 @@ class OmniboxController : public AutocompleteControllerDelegate {
return autocomplete_controller_.get();
}
- bool DoInstant(const AutocompleteMatch& match,
- string16 user_text,
- string16 full_text,
- size_t selection_start,
- size_t selection_end,
- bool user_input_in_progress,
- bool in_escape_handler,
- bool just_deleted_text,
- bool keyword_is_selected);
-
// Sets the suggestion text.
void SetInstantSuggestion(const InstantSuggestion& suggestion);
@@ -84,8 +74,6 @@ class OmniboxController : public AutocompleteControllerDelegate {
const AutocompleteMatch& current_match() const { return current_match_; }
- const string16& gray_suggestion() const { return gray_suggestion_; }
-
// Turns off keyword mode for the current match.
void ClearPopupKeywordMode() const;
@@ -96,11 +84,6 @@ class OmniboxController : public AutocompleteControllerDelegate {
// TODO(beaudoin): Make private once OmniboxEditModel no longer refers to it.
void DoPreconnect(const AutocompleteMatch& match);
- // TODO(beaudoin): Make private once OmniboxEditModel no longer refers to it.
- // Invoked when the popup has changed its bounds to |bounds|. |bounds| here
- // is in screen coordinates.
- void OnPopupBoundsChanged(const gfx::Rect& bounds);
-
private:
// Returns true if a verbatim query should be used for Instant. A verbatim
@@ -136,10 +119,6 @@ class OmniboxController : public AutocompleteControllerDelegate {
// some time to extract these fields and use a tighter structure here.
AutocompleteMatch current_match_;
- // The completion suggested by instant, displayed in gray text besides
- // |fill_into_edit|.
- string16 gray_suggestion_;
-
DISALLOW_COPY_AND_ASSIGN(OmniboxController);
};
« no previous file with comments | « chrome/browser/ui/omnibox/alternate_nav_url_fetcher.cc ('k') | chrome/browser/ui/omnibox/omnibox_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698