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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.h
diff --git a/chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.h b/chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.h
new file mode 100644
index 0000000000000000000000000000000000000000..ad193c13a475361fe66c26f94330f80bf342f0a0
--- /dev/null
+++ b/chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.h
@@ -0,0 +1,33 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H_
+#define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H_
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "chrome/browser/instant/instant_overlay_controller.h"
+
+class Browser;
+@class BrowserWindowController;
+@class OverlayableContentsController;
+
+class InstantOverlayControllerMac : public InstantOverlayController {
+ public:
+ InstantOverlayControllerMac(Browser* browser,
+ BrowserWindowController* window,
+ OverlayableContentsController* overlay);
+ virtual ~InstantOverlayControllerMac();
+
+ private:
+ // Overridden from InstantOverlayController:
+ virtual void OverlayStateChanged(const InstantModel& model) OVERRIDE;
+
+ BrowserWindowController* const window_;
+ OverlayableContentsController* const overlay_;
+
+ DISALLOW_COPY_AND_ASSIGN(InstantOverlayControllerMac);
+};
+
+#endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_INSTANT_OVERLAY_CONTROLLER_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698