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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.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/browser_window_controller.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h
index 16556ac73f038992eca141731b2e74c81a3dc0f5..5eee4e4ef39551712f3da898f8f7dda3fb1be2a1 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h
@@ -37,8 +37,8 @@ class ExtensionKeybindingRegistryCocoa;
@class FullscreenWindow;
@class InfoBarContainerController;
class LocationBarViewMac;
+@class OverlayableContentsController;
@class PresentationModeController;
-@class PreviewableContentsController;
class StatusBubbleMac;
@class TabStripController;
@class TabStripView;
@@ -69,7 +69,7 @@ class WebContents;
scoped_nsobject<DownloadShelfController> downloadShelfController_;
scoped_nsobject<BookmarkBarController> bookmarkBarController_;
scoped_nsobject<DevToolsController> devToolsController_;
- scoped_nsobject<PreviewableContentsController> previewableContentsController_;
+ scoped_nsobject<OverlayableContentsController> overlayableContentsController_;
scoped_nsobject<PresentationModeController> presentationModeController_;
scoped_nsobject<FullscreenExitBubbleController>
fullscreenExitBubbleController_;
@@ -216,8 +216,8 @@ class WebContents;
// Returns a weak pointer to the floating bar backing view;
- (NSView*)floatingBarBackingView;
-// Returns a weak pointer to the previewable contents controller.
-- (PreviewableContentsController*)previewableContentsController;
+// Returns a weak pointer to the overlayable contents controller.
+- (OverlayableContentsController*)overlayableContentsController;
// Access the Profile object that backs this Browser.
- (Profile*)profile;
@@ -328,7 +328,7 @@ class WebContents;
// coordinates.
- (NSPoint)bookmarkBubblePoint;
-// Shows or hides the Instant preview contents.
+// Shows or hides the Instant overlay contents.
- (void)commitInstant;
// Returns the frame, in Cocoa (unflipped) screen coordinates, of the area where
@@ -341,7 +341,7 @@ class WebContents;
returnCode:(NSInteger)code
context:(void*)context;
-- (void)updateBookmarkBarStateForInstantPreview;
+- (void)updateBookmarkBarStateForInstantOverlay;
@end // @interface BrowserWindowController

Powered by Google App Engine
This is Rietveld 408576698