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.
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_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/search/instant_overlay_controller.h"
13 @
class OverlayableContentsController
;
15 class InstantOverlayControllerMac
: public InstantOverlayController
{
17 InstantOverlayControllerMac(Browser
* browser
,
18 OverlayableContentsController
* overlay
);
19 virtual ~InstantOverlayControllerMac();
22 // Overridden from InstantOverlayController:
23 virtual void OverlayStateChanged(const InstantOverlayModel
& model
) OVERRIDE
;
25 OverlayableContentsController
* const overlay_
;
27 DISALLOW_COPY_AND_ASSIGN(InstantOverlayControllerMac
);
30 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H_