Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / tab_contents / instant_overlay_controller_mac.h
blobe7cbc171141f1a36e4b757927671f7eaa39f75c7
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"
12 class Browser;
13 @class OverlayableContentsController;
15 class InstantOverlayControllerMac : public InstantOverlayController {
16 public:
17 InstantOverlayControllerMac(Browser* browser,
18 OverlayableContentsController* overlay);
19 ~InstantOverlayControllerMac() override;
21 private:
22 // Overridden from InstantOverlayController:
23 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_