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

Unified Diff: chrome/browser/ui/search/search_model_observer.h

Issue 12631008: alternate ntp: implement Show/HideBars API to reduce jank when showing/hiding bars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/search/search_model_observer.h
diff --git a/chrome/browser/ui/search/search_model_observer.h b/chrome/browser/ui/search/search_model_observer.h
index 970bba80ca9f0d94eb5ec76d9563a95160c211bb..bc57156b93549406acb24896ce7140134a042e98 100644
--- a/chrome/browser/ui/search/search_model_observer.h
+++ b/chrome/browser/ui/search/search_model_observer.h
@@ -16,6 +16,10 @@ class SearchModelObserver {
// Informs the observer that the mode has changed.
virtual void ModeChanged(const Mode& old_mode, const Mode& new_mode) = 0;
+ // Informs the observer that the visibility of top bars (bookmark and info
+ // bars) has changed.
+ virtual void TopBarsVisibilityChanged(const Mode& mode, bool visible) = 0;
+
protected:
virtual ~SearchModelObserver() {}
};

Powered by Google App Engine
This is Rietveld 408576698