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

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: rebased, resolved conflicts 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..8b5fa0162790f23d1d660b24798291b2b8f2d245 100644
--- a/chrome/browser/ui/search/search_model_observer.h
+++ b/chrome/browser/ui/search/search_model_observer.h
@@ -13,8 +13,10 @@ struct Mode;
// This class defines the observer interface for the |SearchModel|.
class SearchModelObserver {
public:
- // 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 model has changed.
dhollowa 2013/03/13 17:21:55 "... the model's state has changed."
kuan 2013/03/13 22:21:07 Done.
+ virtual void ModelChanged(const Mode& old_mode,
dhollowa 2013/03/13 17:21:55 As mentioned: virtual void ModelChanged(const Sear
kuan 2013/03/13 22:21:07 Done.
+ const Mode& new_mode,
+ bool top_bars_visible) = 0;
protected:
virtual ~SearchModelObserver() {}

Powered by Google App Engine
This is Rietveld 408576698