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::SetMetroSnapMode(bool enable) { |
| 188 NOTIMPLEMENTED(); |
| 189 } |
| 190 |
| 191 bool PanelBrowserWindow::IsInMetroSnapMode() const { |
| 192 NOTIMPLEMENTED(); |
| 193 return false; |
| 194 } |
| 195 #endif |
| 196 |
186 void PanelBrowserWindow::UpdateFullscreenExitBubbleContent( | 197 void PanelBrowserWindow::UpdateFullscreenExitBubbleContent( |
187 const GURL& url, | 198 const GURL& url, |
188 FullscreenExitBubbleType bubble_type) { | 199 FullscreenExitBubbleType bubble_type) { |
189 NOTIMPLEMENTED(); | 200 NOTIMPLEMENTED(); |
190 } | 201 } |
191 | 202 |
192 bool PanelBrowserWindow::IsFullscreenBubbleVisible() const { | 203 bool PanelBrowserWindow::IsFullscreenBubbleVisible() const { |
193 NOTIMPLEMENTED(); | 204 NOTIMPLEMENTED(); |
194 return false; | 205 return false; |
195 } | 206 } |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 } | 493 } |
483 | 494 |
484 void PanelBrowserWindow::TabInsertedAt(TabContents* contents, | 495 void PanelBrowserWindow::TabInsertedAt(TabContents* contents, |
485 int index, | 496 int index, |
486 bool foreground) { | 497 bool foreground) { |
487 if (panel_->auto_resizable()) { | 498 if (panel_->auto_resizable()) { |
488 DCHECK_EQ(0, index); | 499 DCHECK_EQ(0, index); |
489 panel_->EnableWebContentsAutoResize(contents->web_contents()); | 500 panel_->EnableWebContentsAutoResize(contents->web_contents()); |
490 } | 501 } |
491 } | 502 } |
OLD | NEW |