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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 const gfx::Rect& bounds) { | 504 const gfx::Rect& bounds) { |
505 NOTIMPLEMENTED(); | 505 NOTIMPLEMENTED(); |
506 return NEW_POPUP; | 506 return NEW_POPUP; |
507 } | 507 } |
508 | 508 |
509 FindBar* Panel::CreateFindBar() { | 509 FindBar* Panel::CreateFindBar() { |
510 return native_panel_->CreatePanelFindBar(); | 510 return native_panel_->CreatePanelFindBar(); |
511 } | 511 } |
512 | 512 |
513 #if defined(OS_CHROMEOS) | 513 #if defined(OS_CHROMEOS) |
| 514 void Panel::ShowMobileSetup() { |
| 515 NOTIMPLEMENTED(); |
| 516 } |
| 517 |
514 void Panel::ShowKeyboardOverlay(gfx::NativeWindow owning_window) { | 518 void Panel::ShowKeyboardOverlay(gfx::NativeWindow owning_window) { |
515 NOTIMPLEMENTED(); | 519 NOTIMPLEMENTED(); |
516 } | 520 } |
517 #endif | 521 #endif |
518 | 522 |
519 void Panel::UpdatePreferredSize(TabContents* tab_contents, | 523 void Panel::UpdatePreferredSize(TabContents* tab_contents, |
520 const gfx::Size& pref_size) { | 524 const gfx::Size& pref_size) { |
521 return manager()->OnPreferredWindowSizeChanged(this, | 525 return manager()->OnPreferredWindowSizeChanged(this, |
522 native_panel_->WindowSizeFromContentSize(pref_size)); | 526 native_panel_->WindowSizeFromContentSize(pref_size)); |
523 } | 527 } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); | 578 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); |
575 } | 579 } |
576 | 580 |
577 Browser* Panel::browser() const { | 581 Browser* Panel::browser() const { |
578 return native_panel_->GetPanelBrowser(); | 582 return native_panel_->GetPanelBrowser(); |
579 } | 583 } |
580 | 584 |
581 void Panel::DestroyBrowser() { | 585 void Panel::DestroyBrowser() { |
582 native_panel_->DestroyPanelBrowser(); | 586 native_panel_->DestroyPanelBrowser(); |
583 } | 587 } |
OLD | NEW |