| OLD | NEW |
| (Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_ |
| 7 #pragma once |
| 8 |
| 9 namespace chrome { |
| 10 namespace search { |
| 11 |
| 12 struct Mode; |
| 13 |
| 14 // This class defines the observer interface for the |SearchModel|. |
| 15 class SearchModelObserver { |
| 16 public: |
| 17 // Informs the observer that the mode has changed. |
| 18 virtual void ModeChanged(const Mode& mode) = 0; |
| 19 |
| 20 protected: |
| 21 virtual ~SearchModelObserver() {} |
| 22 }; |
| 23 |
| 24 } // namespace search |
| 25 } // namespace chrome |
| 26 |
| 27 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_ |
| OLD | NEW |