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

Unified Diff: chrome/browser/autocomplete/autocomplete_controller.h

Issue 252913002: Stopgap: Adding back AucocompleteController::input() accessor to unbreak clank. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added bug id to comment. 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_controller.h
diff --git a/chrome/browser/autocomplete/autocomplete_controller.h b/chrome/browser/autocomplete/autocomplete_controller.h
index f3db513ff9e10b680728a55ee3489e4d45f00706..5242363c6323707d5254d12df783e89699c04b66 100644
--- a/chrome/browser/autocomplete/autocomplete_controller.h
+++ b/chrome/browser/autocomplete/autocomplete_controller.h
@@ -117,6 +117,13 @@ class AutocompleteController : public AutocompleteProviderListener {
KeywordProvider* keyword_provider() const { return keyword_provider_; }
SearchProvider* search_provider() const { return search_provider_; }
+ // Deprecated. Do not use that method! It's provided temporarily as clank
+ // migrates. If you need to access the aucomplete input you should keep a
+ // local copy of it.
+ // TODO(beaudoin): Remove this method once clank no longer rely on it.
+ // crbug.com/367832
+ const AutocompleteInput& input() const { return input_; }
+
const AutocompleteResult& result() const { return result_; }
bool done() const { return done_; }
const ACProviders* providers() const { return &providers_; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698