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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 132 |
133 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { | 133 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { |
134 return new DefaultUserWallpaperDelegate(); | 134 return new DefaultUserWallpaperDelegate(); |
135 } | 135 } |
136 | 136 |
137 ash::SessionStateDelegate* ShellDelegateImpl::CreateSessionStateDelegate() { | 137 ash::SessionStateDelegate* ShellDelegateImpl::CreateSessionStateDelegate() { |
138 return new SessionStateDelegateStub; | 138 return new SessionStateDelegateStub; |
139 } | 139 } |
140 | 140 |
141 ash::AccessibilityDelegate* ShellDelegateImpl::CreateAccessibilityDelegate() { | 141 ash::AccessibilityDelegate* ShellDelegateImpl::CreateAccessibilityDelegate() { |
142 return new internal::DefaultAccessibilityDelegate; | 142 return new DefaultAccessibilityDelegate; |
143 } | 143 } |
144 | 144 |
145 ash::NewWindowDelegate* ShellDelegateImpl::CreateNewWindowDelegate() { | 145 ash::NewWindowDelegate* ShellDelegateImpl::CreateNewWindowDelegate() { |
146 return new NewWindowDelegateImpl; | 146 return new NewWindowDelegateImpl; |
147 } | 147 } |
148 | 148 |
149 ash::MediaDelegate* ShellDelegateImpl::CreateMediaDelegate() { | 149 ash::MediaDelegate* ShellDelegateImpl::CreateMediaDelegate() { |
150 return new MediaDelegateImpl; | 150 return new MediaDelegateImpl; |
151 } | 151 } |
152 | 152 |
(...skipping 12 matching lines...) Expand all Loading... |
165 // Real GPU support depends on src/content, so just use a stub. | 165 // Real GPU support depends on src/content, so just use a stub. |
166 return new GPUSupportStub; | 166 return new GPUSupportStub; |
167 } | 167 } |
168 | 168 |
169 base::string16 ShellDelegateImpl::GetProductName() const { | 169 base::string16 ShellDelegateImpl::GetProductName() const { |
170 return base::string16(); | 170 return base::string16(); |
171 } | 171 } |
172 | 172 |
173 } // namespace shell | 173 } // namespace shell |
174 } // namespace ash | 174 } // namespace ash |
OLD | NEW |