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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 bool Panel::InPresentationMode() { | 467 bool Panel::InPresentationMode() { |
468 NOTIMPLEMENTED(); | 468 NOTIMPLEMENTED(); |
469 return false; | 469 return false; |
470 } | 470 } |
471 #endif | 471 #endif |
472 | 472 |
473 void Panel::ShowInstant(TabContentsWrapper* preview) { | 473 void Panel::ShowInstant(TabContentsWrapper* preview) { |
474 NOTIMPLEMENTED(); | 474 NOTIMPLEMENTED(); |
475 } | 475 } |
476 | 476 |
477 void Panel::HideInstant(bool instant_is_active) { | 477 void Panel::HideInstant() { |
478 NOTIMPLEMENTED(); | 478 NOTIMPLEMENTED(); |
479 } | 479 } |
480 | 480 |
481 gfx::Rect Panel::GetInstantBounds() { | 481 gfx::Rect Panel::GetInstantBounds() { |
482 NOTIMPLEMENTED(); | 482 NOTIMPLEMENTED(); |
483 return gfx::Rect(); | 483 return gfx::Rect(); |
484 } | 484 } |
485 | 485 |
486 WindowOpenDisposition Panel::GetDispositionForPopupBounds( | 486 WindowOpenDisposition Panel::GetDispositionForPopupBounds( |
487 const gfx::Rect& bounds) { | 487 const gfx::Rect& bounds) { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); | 557 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); |
558 } | 558 } |
559 | 559 |
560 Browser* Panel::browser() const { | 560 Browser* Panel::browser() const { |
561 return native_panel_->GetPanelBrowser(); | 561 return native_panel_->GetPanelBrowser(); |
562 } | 562 } |
563 | 563 |
564 void Panel::DestroyBrowser() { | 564 void Panel::DestroyBrowser() { |
565 native_panel_->DestroyPanelBrowser(); | 565 native_panel_->DestroyPanelBrowser(); |
566 } | 566 } |
OLD | NEW |