Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / ui / search / search_model_observer.h
blob7b766d67aa36a4d4ad85ab3a912485feb5123c43
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_
6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_
8 #include "chrome/browser/ui/search/search_model.h"
10 // This class defines the observer interface for the |SearchModel|.
11 class SearchModelObserver {
12 public:
13 // Informs the observer that the model's state has changed.
14 virtual void ModelChanged(const SearchModel::State& old_state,
15 const SearchModel::State& new_state) = 0;
17 protected:
18 virtual ~SearchModelObserver() {}
21 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_