Index: chrome/browser/ui/omnibox/omnibox_edit_controller.cc |
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_controller.cc b/chrome/browser/ui/omnibox/omnibox_edit_controller.cc |
index 480d8dd4459c4d7857ae239bd7252922ae882ea2..4e3bb30f5ac2b6ead43adfa68f137b5c8c30ca52 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_edit_controller.cc |
+++ b/chrome/browser/ui/omnibox/omnibox_edit_controller.cc |
@@ -27,21 +27,5 @@ OmniboxEditController::OmniboxEditController(CommandUpdater* command_updater) |
ui::PAGE_TRANSITION_FROM_ADDRESS_BAR)) { |
} |
-void OmniboxEditController::HideOriginChip() { |
- GetToolbarModel()->set_origin_chip_enabled(false); |
- OnChanged(); |
-} |
- |
-void OmniboxEditController::ShowOriginChip() { |
- // If URL replacement is still enabled, we can simply show the chip. If it |
- // was disabled by an action to show the URL then the URL needs to be hidden. |
- if (GetToolbarModel()->url_replacement_enabled()) { |
- GetToolbarModel()->set_origin_chip_enabled(true); |
- OnChanged(); |
- } else { |
- HideURL(); |
- } |
-} |
- |
OmniboxEditController::~OmniboxEditController() { |
} |