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

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

Issue 2381753002: Use mojo SystemTray interfaces for both mash and classic ash (Closed)
Patch Set: rebase again Created 4 years, 2 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
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/test/test_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/app_list/app_list_presenter_delegate_factory.h" 7 #include "ash/app_list/app_list_presenter_delegate_factory.h"
8 #include "ash/common/accessibility_delegate.h" 8 #include "ash/common/accessibility_delegate.h"
9 #include "ash/common/default_accessibility_delegate.h" 9 #include "ash/common/default_accessibility_delegate.h"
10 #include "ash/common/gpu_support_stub.h" 10 #include "ash/common/gpu_support_stub.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 189
190 } // namespace 190 } // namespace
191 191
192 ShellDelegateImpl::ShellDelegateImpl() 192 ShellDelegateImpl::ShellDelegateImpl()
193 : shelf_delegate_(nullptr), 193 : shelf_delegate_(nullptr),
194 app_list_presenter_delegate_factory_(new AppListPresenterDelegateFactory( 194 app_list_presenter_delegate_factory_(new AppListPresenterDelegateFactory(
195 base::WrapUnique(new AppListViewDelegateFactoryImpl))) {} 195 base::WrapUnique(new AppListViewDelegateFactoryImpl))) {}
196 196
197 ShellDelegateImpl::~ShellDelegateImpl() {} 197 ShellDelegateImpl::~ShellDelegateImpl() {}
198 198
199 ::shell::Connector* ShellDelegateImpl::GetShellConnector() const {
200 return nullptr;
201 }
202
199 bool ShellDelegateImpl::IsFirstRunAfterBoot() const { 203 bool ShellDelegateImpl::IsFirstRunAfterBoot() const {
200 return false; 204 return false;
201 } 205 }
202 206
203 bool ShellDelegateImpl::IsIncognitoAllowed() const { 207 bool ShellDelegateImpl::IsIncognitoAllowed() const {
204 return true; 208 return true;
205 } 209 }
206 210
207 bool ShellDelegateImpl::IsMultiProfilesEnabled() const { 211 bool ShellDelegateImpl::IsMultiProfilesEnabled() const {
208 return false; 212 return false;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 base::string16 ShellDelegateImpl::GetProductName() const { 293 base::string16 ShellDelegateImpl::GetProductName() const {
290 return base::string16(); 294 return base::string16();
291 } 295 }
292 296
293 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { 297 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const {
294 return gfx::Image(); 298 return gfx::Image();
295 } 299 }
296 300
297 } // namespace shell 301 } // namespace shell
298 } // namespace ash 302 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698