OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.h" | 5 #include "chrome/browser/ui/panels/panel.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/browser/extensions/extension_prefs.h" | 8 #include "chrome/browser/extensions/extension_prefs.h" |
9 #include "chrome/browser/extensions/extension_service.h" | 9 #include "chrome/browser/extensions/extension_service.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 bool Panel::IsMaximized() const { | 240 bool Panel::IsMaximized() const { |
241 // TODO(jennb): Figure out how this applies to Panels. Means isZoomed. | 241 // TODO(jennb): Figure out how this applies to Panels. Means isZoomed. |
242 return false; | 242 return false; |
243 } | 243 } |
244 | 244 |
245 bool Panel::IsMinimized() const { | 245 bool Panel::IsMinimized() const { |
246 NOTIMPLEMENTED(); | 246 NOTIMPLEMENTED(); |
247 return false; | 247 return false; |
248 } | 248 } |
249 | 249 |
250 void Panel::SetFullscreen(bool fullscreen) { | 250 void Panel::SetFullscreen(bool fullscreen, const GURL& url, bool show_buttons) { |
251 NOTIMPLEMENTED(); | 251 NOTIMPLEMENTED(); |
252 } | 252 } |
253 | 253 |
254 bool Panel::IsFullscreen() const { | 254 bool Panel::IsFullscreen() const { |
255 return false; | 255 return false; |
256 } | 256 } |
257 | 257 |
258 bool Panel::IsFullscreenBubbleVisible() const { | 258 bool Panel::IsFullscreenBubbleVisible() const { |
259 NOTIMPLEMENTED(); | 259 NOTIMPLEMENTED(); |
260 return false; | 260 return false; |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 | 459 |
460 void Panel::ToggleTabStripMode() { | 460 void Panel::ToggleTabStripMode() { |
461 NOTIMPLEMENTED(); | 461 NOTIMPLEMENTED(); |
462 } | 462 } |
463 | 463 |
464 #if defined(OS_MACOSX) | 464 #if defined(OS_MACOSX) |
465 void Panel::OpenTabpose() { | 465 void Panel::OpenTabpose() { |
466 NOTIMPLEMENTED(); | 466 NOTIMPLEMENTED(); |
467 } | 467 } |
468 | 468 |
469 void Panel::SetPresentationMode(bool presentation_mode) { | 469 void Panel::SetPresentationMode(bool presentation_mode, |
| 470 const GURL& url, |
| 471 bool show_buttons) { |
470 NOTIMPLEMENTED(); | 472 NOTIMPLEMENTED(); |
471 } | 473 } |
472 | 474 |
473 bool Panel::InPresentationMode() { | 475 bool Panel::InPresentationMode() { |
474 NOTIMPLEMENTED(); | 476 NOTIMPLEMENTED(); |
475 return false; | 477 return false; |
476 } | 478 } |
477 #endif | 479 #endif |
478 | 480 |
479 void Panel::PrepareForInstant() { | 481 void Panel::PrepareForInstant() { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); | 564 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); |
563 } | 565 } |
564 | 566 |
565 Browser* Panel::browser() const { | 567 Browser* Panel::browser() const { |
566 return native_panel_->GetPanelBrowser(); | 568 return native_panel_->GetPanelBrowser(); |
567 } | 569 } |
568 | 570 |
569 void Panel::DestroyBrowser() { | 571 void Panel::DestroyBrowser() { |
570 native_panel_->DestroyPanelBrowser(); | 572 native_panel_->DestroyPanelBrowser(); |
571 } | 573 } |
OLD | NEW |