| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 void ShellDelegateImpl::PreShutdown() {} | 197 void ShellDelegateImpl::PreShutdown() {} |
| 198 | 198 |
| 199 void ShellDelegateImpl::Exit() { | 199 void ShellDelegateImpl::Exit() { |
| 200 base::MessageLoop::current()->QuitWhenIdle(); | 200 base::MessageLoop::current()->QuitWhenIdle(); |
| 201 } | 201 } |
| 202 | 202 |
| 203 keyboard::KeyboardUI* ShellDelegateImpl::CreateKeyboardUI() { | 203 keyboard::KeyboardUI* ShellDelegateImpl::CreateKeyboardUI() { |
| 204 return new TestKeyboardUI; | 204 return new TestKeyboardUI; |
| 205 } | 205 } |
| 206 | 206 |
| 207 void ShellDelegateImpl::OpenUrl(const GURL& url) {} | 207 void ShellDelegateImpl::OpenUrlFromArc(const GURL& url) {} |
| 208 | 208 |
| 209 app_list::AppListPresenter* ShellDelegateImpl::GetAppListPresenter() { | 209 app_list::AppListPresenter* ShellDelegateImpl::GetAppListPresenter() { |
| 210 if (!app_list_presenter_) { | 210 if (!app_list_presenter_) { |
| 211 app_list_presenter_.reset(new app_list::AppListPresenterImpl( | 211 app_list_presenter_.reset(new app_list::AppListPresenterImpl( |
| 212 app_list_presenter_delegate_factory_.get())); | 212 app_list_presenter_delegate_factory_.get())); |
| 213 } | 213 } |
| 214 return app_list_presenter_.get(); | 214 return app_list_presenter_.get(); |
| 215 } | 215 } |
| 216 | 216 |
| 217 ShelfDelegate* ShellDelegateImpl::CreateShelfDelegate(ShelfModel* model) { | 217 ShelfDelegate* ShellDelegateImpl::CreateShelfDelegate(ShelfModel* model) { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 base::string16 ShellDelegateImpl::GetProductName() const { | 261 base::string16 ShellDelegateImpl::GetProductName() const { |
| 262 return base::string16(); | 262 return base::string16(); |
| 263 } | 263 } |
| 264 | 264 |
| 265 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { | 265 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { |
| 266 return gfx::Image(); | 266 return gfx::Image(); |
| 267 } | 267 } |
| 268 | 268 |
| 269 } // namespace shell | 269 } // namespace shell |
| 270 } // namespace ash | 270 } // namespace ash |
| OLD | NEW |