OLD | NEW |
| (Empty) |
1 // Copyright 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_INSTANT_OVERLAY_MODEL_OBSERVER_H_ | |
6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_OVERLAY_MODEL_OBSERVER_H_ | |
7 | |
8 class InstantOverlayModel; | |
9 | |
10 // This class defines the observer interface for the InstantOverlayModel. | |
11 class InstantOverlayModelObserver { | |
12 public: | |
13 // Informs the observer that the overlay state has changed. This can mean | |
14 // either the model state changed or the contents of the overlay changed. | |
15 virtual void OverlayStateChanged(const InstantOverlayModel& model) = 0; | |
16 | |
17 protected: | |
18 ~InstantOverlayModelObserver() {} | |
19 }; | |
20 | |
21 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_OVERLAY_MODEL_OBSERVER_H_ | |
OLD | NEW |