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_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" |
| 10 #include "chrome/browser/instant/instant_overlay_controller.h" |
| 11 |
| 12 class Browser; |
| 13 @class BrowserWindowController; |
| 14 @class OverlayableContentsController; |
| 15 |
| 16 class InstantOverlayControllerMac : public InstantOverlayController { |
| 17 public: |
| 18 InstantOverlayControllerMac(Browser* browser, |
| 19 BrowserWindowController* window, |
| 20 OverlayableContentsController* overlay); |
| 21 virtual ~InstantOverlayControllerMac(); |
| 22 |
| 23 private: |
| 24 // Overridden from InstantOverlayController: |
| 25 virtual void OverlayStateChanged(const InstantModel& model) OVERRIDE; |
| 26 |
| 27 BrowserWindowController* const window_; |
| 28 OverlayableContentsController* const overlay_; |
| 29 |
| 30 DISALLOW_COPY_AND_ASSIGN(InstantOverlayControllerMac); |
| 31 }; |
| 32 |
| 33 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H
_ |
OLD | NEW |