| 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/ui/search/instant_overlay_controller.h" | 10 #include "chrome/browser/ui/search/instant_overlay_controller.h" |
| 11 | 11 |
| 12 class Browser; | 12 class Browser; |
| 13 @class OverlayableContentsController; | 13 @class OverlayableContentsController; |
| 14 | 14 |
| 15 class InstantOverlayControllerMac : public InstantOverlayController { | 15 class InstantOverlayControllerMac : public InstantOverlayController { |
| 16 public: | 16 public: |
| 17 InstantOverlayControllerMac(Browser* browser, | 17 InstantOverlayControllerMac(Browser* browser, |
| 18 OverlayableContentsController* overlay); | 18 OverlayableContentsController* overlay); |
| 19 virtual ~InstantOverlayControllerMac(); | 19 ~InstantOverlayControllerMac() override; |
| 20 | 20 |
| 21 private: | 21 private: |
| 22 // Overridden from InstantOverlayController: | 22 // Overridden from InstantOverlayController: |
| 23 virtual void OverlayStateChanged(const InstantOverlayModel& model) override; | 23 void OverlayStateChanged(const InstantOverlayModel& model) override; |
| 24 | 24 |
| 25 OverlayableContentsController* const overlay_; | 25 OverlayableContentsController* const overlay_; |
| 26 | 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(InstantOverlayControllerMac); | 27 DISALLOW_COPY_AND_ASSIGN(InstantOverlayControllerMac); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H
_ | 30 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H
_ |
| OLD | NEW |