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

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

Issue 731423002: Remove OriginChip code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gyp file and bad merge Created 5 years, 10 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: chrome/browser/ui/omnibox/omnibox_edit_controller.h
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_controller.h b/chrome/browser/ui/omnibox/omnibox_edit_controller.h
index f1e849f0275447afa069bf906bb156f0e7672af3..8f912c94994cb5abad0d3a80b5919396ed2a9851 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_controller.h
+++ b/chrome/browser/ui/omnibox/omnibox_edit_controller.h
@@ -44,21 +44,9 @@ class OmniboxEditController {
// Called whenever the autocomplete edit gets focused.
virtual void OnSetFocus() = 0;
- // Hides the origin chip and shows the URL.
+ // Shows the URL.
virtual void ShowURL() = 0;
- // Hides the origin chip while leaving the Omnibox empty.
- void HideOriginChip();
-
- // Shows the origin chip. Hides the URL if it was previously shown by a call
- // to ShowURL().
- void ShowOriginChip();
-
- // Ends any in-progress animations related to showing/hiding the origin chip.
- // If |cancel_fade| is false, we still allow the chip itself to fade in if
- // we're ending a currently-running hide animation.
- virtual void EndOriginChipAnimations(bool cancel_fade) = 0;
-
// Returns the InstantController, or NULL if instant is not enabled.
virtual InstantController* GetInstant() = 0;
@@ -72,9 +60,6 @@ class OmniboxEditController {
explicit OmniboxEditController(CommandUpdater* command_updater);
virtual ~OmniboxEditController();
- // Hides the URL and shows the origin chip.
- virtual void HideURL() = 0;
-
CommandUpdater* command_updater() { return command_updater_; }
GURL destination_url() const { return destination_url_; }
WindowOpenDisposition disposition() const { return disposition_; }
« no previous file with comments | « chrome/browser/ui/location_bar/origin_chip_info_unittest.cc ('k') | chrome/browser/ui/omnibox/omnibox_edit_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698