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

Unified Diff: chrome/browser/ui/omnibox/omnibox_controller.h

Issue 232023004: Ensures the autocomplete_controller input is saved and restored when changing tabs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed broken browser test. Created 6 years, 8 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 326f1f9edbb3bf5b23a9bbc4742f2da6e27beab4..df1e9402fb5bd0113f58e2512f78e3cf635fc392 100644
--- a/chrome/browser/ui/omnibox/omnibox_controller.h
+++ b/chrome/browser/ui/omnibox/omnibox_controller.h
@@ -16,7 +16,6 @@
struct AutocompleteMatch;
class AutocompleteResult;
-class GURL;
class InstantController;
class OmniboxEditModel;
class OmniboxPopupModel;
@@ -40,15 +39,8 @@ class OmniboxController : public AutocompleteControllerDelegate {
Profile* profile);
virtual ~OmniboxController();
- // |current_url| is only set for mobile ports.
- void StartAutocomplete(
- base::string16 user_text,
- size_t cursor_position,
- const GURL& current_url,
- AutocompleteInput::PageClassification current_page_classification,
- bool prevent_inline_autocomplete,
- bool prefer_keyword,
- bool allow_exact_keyword_match) const;
+ // The |current_url| field of input is only set for mobile ports.
+ void StartAutocomplete(const AutocompleteInput& input) const;
// AutocompleteControllerDelegate:
virtual void OnResultChanged(bool default_match_changed) OVERRIDE;
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_controller.h ('k') | chrome/browser/ui/omnibox/omnibox_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698