| 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_PREVIEW_CONTROLLER_MAC_H_ | |
| 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_PREVIEW_CONTROLLER_MAC_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | |
| 10 #include "chrome/browser/instant/instant_preview_controller.h" | |
| 11 | |
| 12 class Browser; | |
| 13 @class BrowserWindowController; | |
| 14 @class PreviewableContentsController; | |
| 15 | |
| 16 class InstantPreviewControllerMac : public InstantPreviewController { | |
| 17 public: | |
| 18 InstantPreviewControllerMac(Browser* browser, | |
| 19 BrowserWindowController* window, | |
| 20 PreviewableContentsController* preview); | |
| 21 virtual ~InstantPreviewControllerMac(); | |
| 22 | |
| 23 private: | |
| 24 // Overridden from InstantPreviewController: | |
| 25 virtual void PreviewStateChanged(const InstantModel& model) OVERRIDE; | |
| 26 | |
| 27 BrowserWindowController* const window_; | |
| 28 PreviewableContentsController* const preview_; | |
| 29 | |
| 30 DISALLOW_COPY_AND_ASSIGN(InstantPreviewControllerMac); | |
| 31 }; | |
| 32 | |
| 33 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_PREVIEW_CONTROLLER_MAC_H
_ | |
| OLD | NEW |