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

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

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 | « chrome/browser/autocomplete/autocomplete_edit.h ('k') | chrome/browser/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_edit.cc
diff --git a/chrome/browser/autocomplete/autocomplete_edit.cc b/chrome/browser/autocomplete/autocomplete_edit.cc
index 1162943de03527fa2244c167de9e2c3a461d827e..442ef5c56c9a69cc3155839f28813b8802068c82 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit.cc
@@ -129,11 +129,10 @@ void AutocompleteEditModel::RestoreState(const State& state) {
}
}
-GURL AutocompleteEditModel::CurrentURL(PageTransition::Type* transition_type) {
+AutocompleteMatch AutocompleteEditModel::CurrentMatch() {
AutocompleteMatch match;
GetInfoForCurrentText(&match, NULL);
- *transition_type = match.transition;
- return match.destination_url;
+ return match;
}
bool AutocompleteEditModel::UpdatePermanentText(
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit.h ('k') | chrome/browser/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698