Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.h

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
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_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/instant/instant_overlay_controller.h"
11
12 class Browser;
13 @class BrowserWindowController;
14 @class OverlayableContentsController;
15
16 class InstantOverlayControllerMac : public InstantOverlayController {
17 public:
18 InstantOverlayControllerMac(Browser* browser,
19 BrowserWindowController* window,
20 OverlayableContentsController* overlay);
21 virtual ~InstantOverlayControllerMac();
22
23 private:
24 // Overridden from InstantOverlayController:
25 virtual void OverlayStateChanged(const InstantModel& model) OVERRIDE;
26
27 BrowserWindowController* const window_;
28 OverlayableContentsController* const overlay_;
29
30 DISALLOW_COPY_AND_ASSIGN(InstantOverlayControllerMac);
31 };
32
33 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698