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 "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 Loading... |
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 { | 199 ::service_manager::Connector* ShellDelegateImpl::GetShellConnector() const { |
200 return nullptr; | 200 return nullptr; |
201 } | 201 } |
202 | 202 |
203 bool ShellDelegateImpl::IsFirstRunAfterBoot() const { | 203 bool ShellDelegateImpl::IsFirstRunAfterBoot() const { |
204 return false; | 204 return false; |
205 } | 205 } |
206 | 206 |
207 bool ShellDelegateImpl::IsIncognitoAllowed() const { | 207 bool ShellDelegateImpl::IsIncognitoAllowed() const { |
208 return true; | 208 return true; |
209 } | 209 } |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 base::string16 ShellDelegateImpl::GetProductName() const { | 293 base::string16 ShellDelegateImpl::GetProductName() const { |
294 return base::string16(); | 294 return base::string16(); |
295 } | 295 } |
296 | 296 |
297 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { | 297 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { |
298 return gfx::Image(); | 298 return gfx::Image(); |
299 } | 299 } |
300 | 300 |
301 } // namespace shell | 301 } // namespace shell |
302 } // namespace ash | 302 } // namespace ash |
OLD | NEW |