OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/mus/shell_delegate_mus.h" | 5 #include "ash/mus/shell_delegate_mus.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "ash/common/gpu_support_stub.h" | 9 #include "ash/common/gpu_support_stub.h" |
10 #include "ash/common/media_delegate.h" | 10 #include "ash/common/media_delegate.h" |
11 #include "ash/common/pointer_down_watcher_delegate.h" | 11 #include "ash/common/pointer_watcher_delegate.h" |
12 #include "ash/common/session/session_state_delegate.h" | 12 #include "ash/common/session/session_state_delegate.h" |
13 #include "ash/common/system/tray/default_system_tray_delegate.h" | 13 #include "ash/common/system/tray/default_system_tray_delegate.h" |
14 #include "ash/mus/accessibility_delegate_mus.h" | 14 #include "ash/mus/accessibility_delegate_mus.h" |
15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
16 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
17 #include "components/user_manager/user_info_impl.h" | 17 #include "components/user_manager/user_info_impl.h" |
18 #include "ui/app_list/presenter/app_list_presenter.h" | 18 #include "ui/app_list/presenter/app_list_presenter.h" |
19 #include "ui/gfx/image/image.h" | 19 #include "ui/gfx/image/image.h" |
20 | 20 |
21 namespace ash { | 21 namespace ash { |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 NewWindowDelegate* ShellDelegateMus::CreateNewWindowDelegate() { | 189 NewWindowDelegate* ShellDelegateMus::CreateNewWindowDelegate() { |
190 NOTIMPLEMENTED(); | 190 NOTIMPLEMENTED(); |
191 return nullptr; | 191 return nullptr; |
192 } | 192 } |
193 | 193 |
194 MediaDelegate* ShellDelegateMus::CreateMediaDelegate() { | 194 MediaDelegate* ShellDelegateMus::CreateMediaDelegate() { |
195 NOTIMPLEMENTED() << " Using a stub MediaDelegate implementation"; | 195 NOTIMPLEMENTED() << " Using a stub MediaDelegate implementation"; |
196 return new MediaDelegateStub; | 196 return new MediaDelegateStub; |
197 } | 197 } |
198 | 198 |
199 std::unique_ptr<PointerDownWatcherDelegate> | 199 std::unique_ptr<PointerWatcherDelegate> |
200 ShellDelegateMus::CreatePointerDownWatcherDelegate() { | 200 ShellDelegateMus::CreatePointerWatcherDelegate() { |
201 NOTIMPLEMENTED(); | 201 NOTIMPLEMENTED(); |
202 return nullptr; | 202 return nullptr; |
203 } | 203 } |
204 | 204 |
205 ui::MenuModel* ShellDelegateMus::CreateContextMenu(WmShelf* wm_shelf, | 205 ui::MenuModel* ShellDelegateMus::CreateContextMenu(WmShelf* wm_shelf, |
206 const ShelfItem* item) { | 206 const ShelfItem* item) { |
207 NOTIMPLEMENTED(); | 207 NOTIMPLEMENTED(); |
208 return nullptr; | 208 return nullptr; |
209 } | 209 } |
210 | 210 |
211 GPUSupport* ShellDelegateMus::CreateGPUSupport() { | 211 GPUSupport* ShellDelegateMus::CreateGPUSupport() { |
212 NOTIMPLEMENTED() << " Using a stub GPUSupport implementation"; | 212 NOTIMPLEMENTED() << " Using a stub GPUSupport implementation"; |
213 return new GPUSupportStub(); | 213 return new GPUSupportStub(); |
214 } | 214 } |
215 | 215 |
216 base::string16 ShellDelegateMus::GetProductName() const { | 216 base::string16 ShellDelegateMus::GetProductName() const { |
217 NOTIMPLEMENTED(); | 217 NOTIMPLEMENTED(); |
218 return base::string16(); | 218 return base::string16(); |
219 } | 219 } |
220 | 220 |
221 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { | 221 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { |
222 NOTIMPLEMENTED(); | 222 NOTIMPLEMENTED(); |
223 return gfx::Image(); | 223 return gfx::Image(); |
224 } | 224 } |
225 | 225 |
226 } // namespace ash | 226 } // namespace ash |
OLD | NEW |