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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 NOTIMPLEMENTED(); | 401 NOTIMPLEMENTED(); |
402 return gfx::Rect(); | 402 return gfx::Rect(); |
403 } | 403 } |
404 | 404 |
405 WindowOpenDisposition Panel::GetDispositionForPopupBounds( | 405 WindowOpenDisposition Panel::GetDispositionForPopupBounds( |
406 const gfx::Rect& bounds) { | 406 const gfx::Rect& bounds) { |
407 NOTIMPLEMENTED(); | 407 NOTIMPLEMENTED(); |
408 return NEW_POPUP; | 408 return NEW_POPUP; |
409 } | 409 } |
410 | 410 |
| 411 FindBar* Panel::CreateFindBar() { |
| 412 return native_panel_->CreatePanelFindBar(); |
| 413 } |
| 414 |
411 #if defined(OS_CHROMEOS) | 415 #if defined(OS_CHROMEOS) |
412 void Panel::ShowKeyboardOverlay(gfx::NativeWindow owning_window) { | 416 void Panel::ShowKeyboardOverlay(gfx::NativeWindow owning_window) { |
413 NOTIMPLEMENTED(); | 417 NOTIMPLEMENTED(); |
414 } | 418 } |
415 #endif | 419 #endif |
416 | 420 |
417 Browser* Panel::browser() const { | 421 Browser* Panel::browser() const { |
418 return native_panel_->GetPanelBrowser(); | 422 return native_panel_->GetPanelBrowser(); |
419 } | 423 } |
420 | 424 |
421 void Panel::DestroyBrowser() { | 425 void Panel::DestroyBrowser() { |
422 native_panel_->DestroyPanelBrowser(); | 426 native_panel_->DestroyPanelBrowser(); |
423 } | 427 } |
OLD | NEW |