Chromium Code Reviews| 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 |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ca0e10b59c704f6ec489dc39f84a73f60e41cd8d |
| --- /dev/null |
| +++ b/chrome/browser/ui/search/search_model_observer.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_ |
| +#define CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_ |
| +#pragma once |
| + |
| +namespace chrome { |
| +namespace search { |
| + |
| +struct Location; |
|
tfarina
2012/06/21 22:28:55
nit: remove this, unused in this header file.
dhollowa
2012/06/21 23:53:42
Done.
|
| +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& mode) = 0; |
| + |
| + protected: |
| + virtual ~SearchModelObserver() {} |
| +}; |
| + |
| +} // namespace search |
| +} // namespace chrome |
| + |
| +#endif // CHROME_BROWSER_UI_SEARCH_SEARCH_MODEL_OBSERVER_H_ |