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

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: fixed build break 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
« no previous file with comments | « chrome/browser/ui/search/search_model.cc ('k') | chrome/browser/ui/search/search_tab_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..200356b124ea0993e08276306f6a259c592e3d5c 100644
--- a/chrome/browser/ui/search/search_model_observer.h
+++ b/chrome/browser/ui/search/search_model_observer.h
@@ -5,16 +5,17 @@
#ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_
#define CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_
+#include "chrome/browser/ui/search/search_model.h"
+
namespace chrome {
namespace search {
-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's state has changed.
+ virtual void ModelChanged(const SearchModel::State& old_state,
+ const SearchModel::State& new_state) = 0;
protected:
virtual ~SearchModelObserver() {}
« no previous file with comments | « chrome/browser/ui/search/search_model.cc ('k') | chrome/browser/ui/search/search_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698