Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Side by Side Diff: chrome/browser/ui/panels/panel.cc

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 593
594 void Panel::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) { 594 void Panel::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {
595 native_panel_->HandlePanelKeyboardEvent(event); 595 native_panel_->HandlePanelKeyboardEvent(event);
596 } 596 }
597 597
598 void Panel::ShowCreateWebAppShortcutsDialog(TabContentsWrapper* tab_contents) { 598 void Panel::ShowCreateWebAppShortcutsDialog(TabContentsWrapper* tab_contents) {
599 NOTIMPLEMENTED(); 599 NOTIMPLEMENTED();
600 } 600 }
601 601
602 void Panel::ShowCreateChromeAppShortcutsDialog(Profile* profile, 602 void Panel::ShowCreateChromeAppShortcutsDialog(Profile* profile,
603 const Extension* app) { 603 const extensions::Extension* app) {
604 NOTIMPLEMENTED(); 604 NOTIMPLEMENTED();
605 } 605 }
606 606
607 void Panel::Cut() { 607 void Panel::Cut() {
608 native_panel_->PanelCut(); 608 native_panel_->PanelCut();
609 } 609 }
610 610
611 void Panel::Copy() { 611 void Panel::Copy() {
612 native_panel_->PanelCopy(); 612 native_panel_->PanelCopy();
613 } 613 }
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 max_size_policy_ = CUSTOM_MAX_SIZE; 797 max_size_policy_ = CUSTOM_MAX_SIZE;
798 } 798 }
799 799
800 void Panel::OnPanelEndUserResizing() { 800 void Panel::OnPanelEndUserResizing() {
801 SetPreviewMode(false); 801 SetPreviewMode(false);
802 } 802 }
803 803
804 void Panel::DestroyBrowser() { 804 void Panel::DestroyBrowser() {
805 native_panel_->DestroyPanelBrowser(); 805 native_panel_->DestroyPanelBrowser();
806 } 806 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698