summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/browser_window_cocoa.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/browser_window_cocoa.mm')
-rw-r--r--chrome/browser/ui/cocoa/browser_window_cocoa.mm12
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
index 9d34a89..13f06d4 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
@@ -568,18 +568,6 @@ bool BrowserWindowCocoa::InPresentationMode() {
return [controller_ inPresentationMode];
}
-void BrowserWindowCocoa::ShowInstant(TabContents* preview,
- int height,
- InstantSizeUnits units) {
- // TODO(jered): Support height < 100%.
- DCHECK(height == 100 && units == INSTANT_SIZE_PERCENT);
- [controller_ showInstant:preview->web_contents()];
-}
-
-void BrowserWindowCocoa::HideInstant() {
- [controller_ hideInstant];
-}
-
gfx::Rect BrowserWindowCocoa::GetInstantBounds() {
// Flip coordinates based on the primary screen.
NSScreen* screen = [[NSScreen screens] objectAtIndex:0];