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_INSTANT_INSTANT_OVERLAY_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_CONTROLLER_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "chrome/browser/instant/instant_model_observer.h" |
| 10 |
| 11 class Browser; |
| 12 class InstantModel; |
| 13 |
| 14 // Abstract base class for platform-specific Instant overlay controllers. |
| 15 class InstantOverlayController : public InstantModelObserver { |
| 16 protected: |
| 17 explicit InstantOverlayController(Browser* browser); |
| 18 virtual ~InstantOverlayController(); |
| 19 |
| 20 Browser* const browser_; |
| 21 |
| 22 private: |
| 23 // Overridden from InstantModelObserver: |
| 24 virtual void OverlayStateChanged(const InstantModel& model) OVERRIDE = 0; |
| 25 }; |
| 26 |
| 27 #endif // CHROME_BROWSER_INSTANT_INSTANT_OVERLAY_CONTROLLER_H_ |
OLD | NEW |