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

Unified Diff: chrome/browser/ui/location_bar/location_bar.h

Issue 1036173002: Animate showing / hiding the location bar for bookmark apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac compile Created 5 years, 9 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/location_bar/location_bar.h
diff --git a/chrome/browser/ui/location_bar/location_bar.h b/chrome/browser/ui/location_bar/location_bar.h
index df125323727870e0d7576c58576f11daa665a8cf..23cc047aa7daa531f30c0a21f18fed35e89065c3 100644
--- a/chrome/browser/ui/location_bar/location_bar.h
+++ b/chrome/browser/ui/location_bar/location_bar.h
@@ -61,6 +61,10 @@ class LocationBar {
// Updates the visibility of the bookmark star.
virtual void UpdateBookmarkStarVisibility() = 0;
+ // Updates the state of the location bar. Animate the transition based if
+ // |animate| is true.
+ virtual void UpdateLocationBarState(bool visible, bool animate) = 0;
+
// Shows the popup for the given |extension| and, if |grant_active_tab| is
// true, grants the extension active tab permissions.
// Returns true if a popup was shown.

Powered by Google App Engine
This is Rietveld 408576698