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

Side by Side Diff: chrome/browser/ui/search/search_model_observer.h

Issue 2885853002: Instant: remove InstantSupportState (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_
6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_ 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_
7 7
8 #include "chrome/browser/ui/search/search_model.h" 8 #include "chrome/browser/ui/search/search_model.h"
9 9
10 // This class defines the observer interface for the |SearchModel|. 10 // This class defines the observer interface for the |SearchModel|.
11 class SearchModelObserver { 11 class SearchModelObserver {
12 public: 12 public:
13 // Informs the observer that the model's state has changed. 13 // Informs the observer that the model's state has changed.
14 virtual void ModelChanged(const SearchModel::State& old_state, 14 virtual void ModelChanged(const SearchMode& old_mode,
15 const SearchModel::State& new_state) = 0; 15 const SearchMode& new_mode) = 0;
16 16
17 protected: 17 protected:
18 virtual ~SearchModelObserver() {} 18 virtual ~SearchModelObserver() {}
19 }; 19 };
20 20
21 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_ 21 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/search_model.cc ('k') | chrome/browser/ui/search/search_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698