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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h

Issue 18009003: Instant Extended: Delete unused overlay code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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/overlayable_contents_controller.h
diff --git a/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h b/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h
index 950465343dacf99bda5975d8f52e9175f438a44e..8cfee1f91fd8fa7bc73354d236643928b6c30f77 100644
--- a/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h
+++ b/chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h
@@ -44,37 +44,9 @@ class WebContents;
// The desired height of the overlay and units.
CGFloat overlayHeight_;
InstantSizeUnits overlayHeightUnits_;
-
- // If true then a shadow is drawn below the overlay. This is used to make the
- // overlay "float" over the tab's web contents.
- BOOL drawDropShadow_;
-
- // View responsible for drawing a drop shadow.
- base::scoped_nsobject<NSView> dropShadowView_;
-
- // View responsible for drawing a separator at the top. The separator is
- // only visible when the overlay is positioned right next to the omnibox.
- base::scoped_nsobject<NSView> topSeparatorView_;
-
- BrowserWindowController* windowController_;
-
- // The vertical offset between the top of the view and the active container.
- // This is used to push the active container below the bookmark bar. Normally
- // this is set to the height of the bookmark bar so that the bookmark bar is
- // not obscured.
- CGFloat activeContainerOffset_;
-
- // The vertical offset between the top of the view and the overlay. This is
- // used in presentation mode to push the overlay below the floating toolbar
- // view.
- CGFloat overlayContentsOffset_;
}
@property(readonly, nonatomic) NSView* activeContainer;
-@property(readonly, nonatomic) NSView* dropShadowView;
-@property(readonly, nonatomic) BOOL drawDropShadow;
-@property(assign, nonatomic) CGFloat activeContainerOffset;
-@property(assign, nonatomic) CGFloat overlayContentsOffset;
// Initialization.
- (id)initWithBrowser:(Browser*)browser
@@ -92,12 +64,9 @@ class WebContents;
// if it's the overlay being activated (and adjust internal state accordingly).
- (void)onActivateTabWithContents:(content::WebContents*)contents;
-// Returns YES if the overlay contents is currently showing.
-- (BOOL)isShowingOverlay;
-
- (InstantOverlayControllerMac*)instantOverlayController;
-- (void)activeContentsCompositingIOSurfaceCreated;
+- (BOOL)isShowingOverlay;
@end

Powered by Google App Engine
This is Rietveld 408576698