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

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

Issue 23804002: Make OmniboxEditModel::UpdatePermanentText() fetch the new text itself rather (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 4 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/ui/gtk/omnibox/omnibox_view_gtk.cc ('k') | chrome/browser/ui/omnibox/omnibox_edit_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/omnibox/omnibox_edit_model.h
===================================================================
--- chrome/browser/ui/omnibox/omnibox_edit_model.h (revision 220446)
+++ chrome/browser/ui/omnibox/omnibox_edit_model.h (working copy)
@@ -138,10 +138,10 @@
// that state has changed.
void SetInputInProgress(bool in_progress);
- // Updates permanent_text_ to |new_permanent_text|. Returns true if this
- // change should be immediately user-visible, because either the user is not
- // editing or the edit does not have focus.
- bool UpdatePermanentText(const string16& new_permanent_text);
+ // Updates permanent_text_ to the current permanent text from the toolbar
+ // model. Returns true if this change should be immediately user-visible,
+ // because either the user is not editing or the edit does not have focus.
+ bool UpdatePermanentText();
// Returns the URL corresponding to the permanent text.
GURL PermanentURL();
« no previous file with comments | « chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc ('k') | chrome/browser/ui/omnibox/omnibox_edit_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698