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

Unified Diff: components/omnibox/browser/omnibox_view.h

Issue 2242213008: Remove url_replacement logic from Omnibox/ToolbarModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_show_url
Patch Set: Created 4 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
Index: components/omnibox/browser/omnibox_view.h
diff --git a/components/omnibox/browser/omnibox_view.h b/components/omnibox/browser/omnibox_view.h
index 37cee3eded77c6eff11e7f4b7cc2e56af8dca9ac..5f71e1af78540b75366c2bad57fcd12d973b6a90 100644
--- a/components/omnibox/browser/omnibox_view.h
+++ b/components/omnibox/browser/omnibox_view.h
@@ -130,14 +130,10 @@ class OmniboxView {
// avoid selecting the "phantom newline" at the end of the edit.
virtual void SelectAll(bool reversed) = 0;
- // Re-enables search term replacement on the ToolbarModel, and reverts the
- // edit and popup back to their unedited state (permanent text showing, popup
- // closed, no user input in progress).
+ // Reverts the edit and popup back to their unedited state (permanent text
+ // showing, popup closed, no user input in progress).
virtual void RevertAll();
- // Like RevertAll(), but does not touch the search term replacement state.
- void RevertWithoutResettingSearchTermReplacement();
-
// Updates the autocomplete popup and other state after the text has been
// changed by the user.
virtual void UpdatePopup() = 0;

Powered by Google App Engine
This is Rietveld 408576698