| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/panels/panel_browser_window.h" | 5 #include "chrome/browser/ui/panels/panel_browser_window.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
| 9 #include "chrome/browser/ui/browser_finder.h" | 9 #include "chrome/browser/ui/browser_finder.h" |
| 10 #include "chrome/browser/ui/panels/panel.h" | 10 #include "chrome/browser/ui/panels/panel.h" |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 176 |
| 177 void PanelBrowserWindow::EnterFullscreen( | 177 void PanelBrowserWindow::EnterFullscreen( |
| 178 const GURL& url, FullscreenExitBubbleType type) { | 178 const GURL& url, FullscreenExitBubbleType type) { |
| 179 NOTIMPLEMENTED(); | 179 NOTIMPLEMENTED(); |
| 180 } | 180 } |
| 181 | 181 |
| 182 void PanelBrowserWindow::ExitFullscreen() { | 182 void PanelBrowserWindow::ExitFullscreen() { |
| 183 NOTIMPLEMENTED(); | 183 NOTIMPLEMENTED(); |
| 184 } | 184 } |
| 185 | 185 |
| 186 #if defined(OS_WIN) |
| 187 void PanelBrowserWindow::ToggleMetroSnapMode(bool enable) { |
| 188 NOTIMPLEMENTED(); |
| 189 } |
| 190 #endif |
| 191 |
| 186 void PanelBrowserWindow::UpdateFullscreenExitBubbleContent( | 192 void PanelBrowserWindow::UpdateFullscreenExitBubbleContent( |
| 187 const GURL& url, | 193 const GURL& url, |
| 188 FullscreenExitBubbleType bubble_type) { | 194 FullscreenExitBubbleType bubble_type) { |
| 189 NOTIMPLEMENTED(); | 195 NOTIMPLEMENTED(); |
| 190 } | 196 } |
| 191 | 197 |
| 192 bool PanelBrowserWindow::IsFullscreenBubbleVisible() const { | 198 bool PanelBrowserWindow::IsFullscreenBubbleVisible() const { |
| 193 NOTIMPLEMENTED(); | 199 NOTIMPLEMENTED(); |
| 194 return false; | 200 return false; |
| 195 } | 201 } |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 } | 488 } |
| 483 | 489 |
| 484 void PanelBrowserWindow::TabInsertedAt(TabContentsWrapper* contents, | 490 void PanelBrowserWindow::TabInsertedAt(TabContentsWrapper* contents, |
| 485 int index, | 491 int index, |
| 486 bool foreground) { | 492 bool foreground) { |
| 487 if (panel_->auto_resizable()) { | 493 if (panel_->auto_resizable()) { |
| 488 DCHECK_EQ(0, index); | 494 DCHECK_EQ(0, index); |
| 489 panel_->EnableWebContentsAutoResize(contents->web_contents()); | 495 panel_->EnableWebContentsAutoResize(contents->web_contents()); |
| 490 } | 496 } |
| 491 } | 497 } |
| OLD | NEW |