| 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/accessibility_delegate.h" | 7 #include "ash/accessibility_delegate.h" |
| 8 #include "ash/default_accessibility_delegate.h" | 8 #include "ash/default_accessibility_delegate.h" |
| 9 #include "ash/default_user_wallpaper_delegate.h" | 9 #include "ash/default_user_wallpaper_delegate.h" |
| 10 #include "ash/gpu_support_stub.h" | 10 #include "ash/gpu_support_stub.h" |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 } | 182 } |
| 183 | 183 |
| 184 void ShellDelegateImpl::AddVirtualKeyboardStateObserver( | 184 void ShellDelegateImpl::AddVirtualKeyboardStateObserver( |
| 185 VirtualKeyboardStateObserver* observer) { | 185 VirtualKeyboardStateObserver* observer) { |
| 186 } | 186 } |
| 187 | 187 |
| 188 void ShellDelegateImpl::RemoveVirtualKeyboardStateObserver( | 188 void ShellDelegateImpl::RemoveVirtualKeyboardStateObserver( |
| 189 VirtualKeyboardStateObserver* observer) { | 189 VirtualKeyboardStateObserver* observer) { |
| 190 } | 190 } |
| 191 | 191 |
| 192 void ShellDelegateImpl::OpenUrl(const GURL& url) {} |
| 193 |
| 192 app_list::AppListViewDelegate* ShellDelegateImpl::GetAppListViewDelegate() { | 194 app_list::AppListViewDelegate* ShellDelegateImpl::GetAppListViewDelegate() { |
| 193 if (!app_list_view_delegate_) | 195 if (!app_list_view_delegate_) |
| 194 app_list_view_delegate_.reset(ash::shell::CreateAppListViewDelegate()); | 196 app_list_view_delegate_.reset(ash::shell::CreateAppListViewDelegate()); |
| 195 return app_list_view_delegate_.get(); | 197 return app_list_view_delegate_.get(); |
| 196 } | 198 } |
| 197 | 199 |
| 198 ShelfDelegate* ShellDelegateImpl::CreateShelfDelegate(ShelfModel* model) { | 200 ShelfDelegate* ShellDelegateImpl::CreateShelfDelegate(ShelfModel* model) { |
| 199 shelf_delegate_ = new ShelfDelegateImpl(); | 201 shelf_delegate_ = new ShelfDelegateImpl(); |
| 200 return shelf_delegate_; | 202 return shelf_delegate_; |
| 201 } | 203 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 base::string16 ShellDelegateImpl::GetProductName() const { | 240 base::string16 ShellDelegateImpl::GetProductName() const { |
| 239 return base::string16(); | 241 return base::string16(); |
| 240 } | 242 } |
| 241 | 243 |
| 242 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { | 244 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { |
| 243 return gfx::Image(); | 245 return gfx::Image(); |
| 244 } | 246 } |
| 245 | 247 |
| 246 } // namespace shell | 248 } // namespace shell |
| 247 } // namespace ash | 249 } // namespace ash |
| OLD | NEW |