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