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

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

Issue 302453002: New animation for the origin chip URL showing/hiding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test failure by checking for NULL extension Created 6 years, 7 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 9b9f08e2f795f546d3a868c812bf0e547d895061..5ec29f4bcda1afba60a3adea16cde9c8217d7e81 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_controller.h
+++ b/chrome/browser/ui/omnibox/omnibox_edit_controller.h
@@ -54,6 +54,11 @@ class OmniboxEditController {
// 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;

Powered by Google App Engine
This is Rietveld 408576698