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

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

Issue 14698028: Omnibox refactor. OmniboxController now holds an AutocompleteMatch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Answered pkasting comments, rebased. 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/autocomplete/autocomplete_result.h
diff --git a/chrome/browser/autocomplete/autocomplete_result.h b/chrome/browser/autocomplete/autocomplete_result.h
index 6ae7e390dc482251dd005c87684f0e6f1a2a61db..2da5320f811f07fc65971918964db0b11997fd6b 100644
--- a/chrome/browser/autocomplete/autocomplete_result.h
+++ b/chrome/browser/autocomplete/autocomplete_result.h
@@ -119,6 +119,11 @@ class AutocompleteResult {
void Validate() const;
#endif
+ // Compute the "alternate navigation URL" for a given match. This is obtained
+ // by interpreting the user input directly as a URL.
Peter Kasting 2013/06/18 17:44:00 Nit: Might want to add a "see comments on |alterna
beaudoin 2013/06/18 22:37:34 Done.
+ static GURL ComputeAlternateNavUrl(const AutocompleteInput& input,
+ const AutocompleteMatch& match);
+
private:
typedef std::map<AutocompleteProvider*, ACMatches> ProviderToMatches;
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_result.cc » ('j') | chrome/browser/autocomplete/autocomplete_result.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698