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

Unified Diff: components/toolbar/toolbar_model.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/toolbar/toolbar_model.h
diff --git a/components/toolbar/toolbar_model.h b/components/toolbar/toolbar_model.h
index afe4619766fd874f1c2ddefe5339b543d7f6826c..f4ccfc8a1f5bb4856c1bdb60e0addd51161f8829 100644
--- a/components/toolbar/toolbar_model.h
+++ b/components/toolbar/toolbar_model.h
@@ -66,21 +66,11 @@ class ToolbarModel {
}
bool input_in_progress() const { return input_in_progress_; }
- // Whether URL replacement should be enabled.
- // TODO(treib,pkasting): Remove this. crbug.com/627747
- void set_url_replacement_enabled(bool enabled) {
- url_replacement_enabled_ = enabled;
- }
- bool url_replacement_enabled() const {
- return url_replacement_enabled_;
- }
-
protected:
ToolbarModel();
private:
bool input_in_progress_;
- bool url_replacement_enabled_;
DISALLOW_COPY_AND_ASSIGN(ToolbarModel);
};

Powered by Google App Engine
This is Rietveld 408576698