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