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

Side by Side Diff: ash/shell/shell_delegate_impl.cc

Issue 10414064: Handle more browser commands in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build of ShellDelegateImpl 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 | Annotate | Revision Log
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ash/shell/shell_delegate_impl.h" 5 #include "ash/shell/shell_delegate_impl.h"
6 6
7 #include "ash/shell/example_factory.h" 7 #include "ash/shell/example_factory.h"
8 #include "ash/shell/launcher_delegate_impl.h" 8 #include "ash/shell/launcher_delegate_impl.h"
9 #include "ash/shell/toplevel_window.h" 9 #include "ash/shell/toplevel_window.h"
10 #include "ash/shell_window_ids.h" 10 #include "ash/shell_window_ids.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 return locked_; 49 return locked_;
50 } 50 }
51 51
52 void ShellDelegateImpl::Shutdown() { 52 void ShellDelegateImpl::Shutdown() {
53 } 53 }
54 54
55 void ShellDelegateImpl::Exit() { 55 void ShellDelegateImpl::Exit() {
56 MessageLoopForUI::current()->Quit(); 56 MessageLoopForUI::current()->Quit();
57 } 57 }
58 58
59 void ShellDelegateImpl::NewTab() {
60 }
61
59 void ShellDelegateImpl::NewWindow(bool incognito) { 62 void ShellDelegateImpl::NewWindow(bool incognito) {
60 ash::shell::ToplevelWindow::CreateParams create_params; 63 ash::shell::ToplevelWindow::CreateParams create_params;
61 create_params.can_resize = true; 64 create_params.can_resize = true;
62 create_params.can_maximize = true; 65 create_params.can_maximize = true;
63 ash::shell::ToplevelWindow::CreateToplevelWindow(create_params); 66 ash::shell::ToplevelWindow::CreateToplevelWindow(create_params);
64 } 67 }
65 68
66 void ShellDelegateImpl::Search() { 69 void ShellDelegateImpl::Search() {
67 } 70 }
68 71
69 void ShellDelegateImpl::OpenFileManager() { 72 void ShellDelegateImpl::OpenFileManager() {
70 } 73 }
71 74
72 void ShellDelegateImpl::OpenCrosh() { 75 void ShellDelegateImpl::OpenCrosh() {
73 } 76 }
74 77
75 void ShellDelegateImpl::OpenMobileSetup() { 78 void ShellDelegateImpl::OpenMobileSetup() {
76 } 79 }
77 80
81 void ShellDelegateImpl::RestoreTab() {
82 }
83
78 void ShellDelegateImpl::ShowKeyboardOverlay() { 84 void ShellDelegateImpl::ShowKeyboardOverlay() {
79 } 85 }
80 86
87 void ShellDelegateImpl::ShowTaskManager() {
88 }
89
81 content::BrowserContext* ShellDelegateImpl::GetCurrentBrowserContext() { 90 content::BrowserContext* ShellDelegateImpl::GetCurrentBrowserContext() {
82 return Shell::GetInstance()->browser_context(); 91 return Shell::GetInstance()->browser_context();
83 } 92 }
84 93
85 void ShellDelegateImpl::ToggleSpokenFeedback() { 94 void ShellDelegateImpl::ToggleSpokenFeedback() {
86 } 95 }
87 96
88 app_list::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() { 97 app_list::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() {
89 return ash::shell::CreateAppListViewDelegate(); 98 return ash::shell::CreateAppListViewDelegate();
90 } 99 }
(...skipping 13 matching lines...) Expand all
104 ash::SystemTray* tray) { 113 ash::SystemTray* tray) {
105 return NULL; 114 return NULL;
106 } 115 }
107 116
108 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { 117 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() {
109 return NULL; 118 return NULL;
110 } 119 }
111 120
112 } // namespace shell 121 } // namespace shell
113 } // namespace ash 122 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698