[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / tab_contents / instant_overlay_controller_mac.h
blob836e2259b1b87352940a014193b13a6da63d79b0
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 virtual ~InstantOverlayControllerMac();
21 private:
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_