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

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

Issue 3332022: Bunch of match preview tweaks: (Closed)
Patch Set: Add string16 include Created 10 years, 3 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 | « base/string_util.h ('k') | chrome/browser/autocomplete/autocomplete_edit.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_edit.h
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h
index 8376cb563fa4d07bc6a56ad64c297ed35a8ffd21..14541111a49d2734e7160e662b860646472f230a 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.h
+++ b/chrome/browser/autocomplete/autocomplete_edit.h
@@ -134,10 +134,9 @@ class AutocompleteEditModel : public NotificationObserver {
// Restores local state from the saved |state|.
void RestoreState(const State& state);
- // Returns the url and transition type for the current text. If the user has
- // not edited the text this is the permanent url, otherwise it is the url the
- // user would navigate to if they accept the current edit.
- GURL CurrentURL(PageTransition::Type* transition_type);
+ // Returns the match for the current text. If the user has not edited the text
+ // this is the match corresponding to the permanent text.
+ AutocompleteMatch CurrentMatch();
// Called when the user wants to export the entire current text as a URL.
// Sets the url, and if known, the title and favicon.
« no previous file with comments | « base/string_util.h ('k') | chrome/browser/autocomplete/autocomplete_edit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698