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.h" | 5 #include "chrome/browser/ui/panels/panel.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 | 595 |
596 void Panel::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) { | 596 void Panel::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) { |
597 native_panel_->HandlePanelKeyboardEvent(event); | 597 native_panel_->HandlePanelKeyboardEvent(event); |
598 } | 598 } |
599 | 599 |
600 void Panel::ShowCreateWebAppShortcutsDialog(TabContentsWrapper* tab_contents) { | 600 void Panel::ShowCreateWebAppShortcutsDialog(TabContentsWrapper* tab_contents) { |
601 NOTIMPLEMENTED(); | 601 NOTIMPLEMENTED(); |
602 } | 602 } |
603 | 603 |
604 void Panel::ShowCreateChromeAppShortcutsDialog(Profile* profile, | 604 void Panel::ShowCreateChromeAppShortcutsDialog(Profile* profile, |
605 const Extension* app) { | 605 const extensions::Extension* app) { |
606 NOTIMPLEMENTED(); | 606 NOTIMPLEMENTED(); |
607 } | 607 } |
608 | 608 |
609 void Panel::Cut() { | 609 void Panel::Cut() { |
610 native_panel_->PanelCut(); | 610 native_panel_->PanelCut(); |
611 } | 611 } |
612 | 612 |
613 void Panel::Copy() { | 613 void Panel::Copy() { |
614 native_panel_->PanelCopy(); | 614 native_panel_->PanelCopy(); |
615 } | 615 } |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 max_size_policy_ = CUSTOM_MAX_SIZE; | 788 max_size_policy_ = CUSTOM_MAX_SIZE; |
789 } | 789 } |
790 | 790 |
791 void Panel::OnPanelEndUserResizing() { | 791 void Panel::OnPanelEndUserResizing() { |
792 SetPreviewMode(false); | 792 SetPreviewMode(false); |
793 } | 793 } |
794 | 794 |
795 void Panel::DestroyBrowser() { | 795 void Panel::DestroyBrowser() { |
796 native_panel_->DestroyPanelBrowser(); | 796 native_panel_->DestroyPanelBrowser(); |
797 } | 797 } |
OLD | NEW |