OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H_ | 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_ | 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "chrome/browser/instant/instant_overlay_controller.h" | 10 #include "chrome/browser/ui/search/instant_overlay_controller.h" |
11 | 11 |
12 class Browser; | 12 class Browser; |
13 @class BrowserWindowController; | 13 @class BrowserWindowController; |
14 @class OverlayableContentsController; | 14 @class OverlayableContentsController; |
15 | 15 |
16 class InstantOverlayControllerMac : public InstantOverlayController { | 16 class InstantOverlayControllerMac : public InstantOverlayController { |
17 public: | 17 public: |
18 InstantOverlayControllerMac(Browser* browser, | 18 InstantOverlayControllerMac(Browser* browser, |
19 BrowserWindowController* window, | 19 BrowserWindowController* window, |
20 OverlayableContentsController* overlay); | 20 OverlayableContentsController* overlay); |
21 virtual ~InstantOverlayControllerMac(); | 21 virtual ~InstantOverlayControllerMac(); |
22 | 22 |
23 private: | 23 private: |
24 // Overridden from InstantOverlayController: | 24 // Overridden from InstantOverlayController: |
25 virtual void OverlayStateChanged(const InstantOverlayModel& model) OVERRIDE; | 25 virtual void OverlayStateChanged(const InstantOverlayModel& model) OVERRIDE; |
26 | 26 |
27 BrowserWindowController* const window_; | 27 BrowserWindowController* const window_; |
28 OverlayableContentsController* const overlay_; | 28 OverlayableContentsController* const overlay_; |
29 | 29 |
30 DISALLOW_COPY_AND_ASSIGN(InstantOverlayControllerMac); | 30 DISALLOW_COPY_AND_ASSIGN(InstantOverlayControllerMac); |
31 }; | 31 }; |
32 | 32 |
33 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H
_ | 33 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H
_ |
OLD | NEW |