Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: ash/mus/shell_delegate_mus.cc

Issue 2267023003: ash: Eliminate PointerWatcherDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/mus/shell_delegate_mus.h ('k') | ash/pointer_watcher_delegate_aura.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/palette_delegate.h" 11 #include "ash/common/palette_delegate.h"
12 #include "ash/common/pointer_watcher_delegate.h"
13 #include "ash/common/session/session_state_delegate.h" 12 #include "ash/common/session/session_state_delegate.h"
14 #include "ash/common/shelf/shelf_delegate.h" 13 #include "ash/common/shelf/shelf_delegate.h"
15 #include "ash/common/system/tray/default_system_tray_delegate.h" 14 #include "ash/common/system/tray/default_system_tray_delegate.h"
16 #include "ash/mus/accessibility_delegate_mus.h" 15 #include "ash/mus/accessibility_delegate_mus.h"
17 #include "ash/mus/new_window_delegate_mus.h" 16 #include "ash/mus/new_window_delegate_mus.h"
18 #include "base/memory/ptr_util.h" 17 #include "base/memory/ptr_util.h"
19 #include "base/strings/string16.h" 18 #include "base/strings/string16.h"
20 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
21 #include "components/user_manager/user_info_impl.h" 20 #include "components/user_manager/user_info_impl.h"
22 #include "ui/app_list/presenter/app_list_presenter.h" 21 #include "ui/app_list/presenter/app_list_presenter.h"
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 MediaDelegate* ShellDelegateMus::CreateMediaDelegate() { 221 MediaDelegate* ShellDelegateMus::CreateMediaDelegate() {
223 NOTIMPLEMENTED() << " Using a stub MediaDelegate implementation"; 222 NOTIMPLEMENTED() << " Using a stub MediaDelegate implementation";
224 return new MediaDelegateStub; 223 return new MediaDelegateStub;
225 } 224 }
226 225
227 std::unique_ptr<PaletteDelegate> ShellDelegateMus::CreatePaletteDelegate() { 226 std::unique_ptr<PaletteDelegate> ShellDelegateMus::CreatePaletteDelegate() {
228 NOTIMPLEMENTED(); 227 NOTIMPLEMENTED();
229 return nullptr; 228 return nullptr;
230 } 229 }
231 230
232 std::unique_ptr<PointerWatcherDelegate>
233 ShellDelegateMus::CreatePointerWatcherDelegate() {
234 NOTIMPLEMENTED();
235 return nullptr;
236 }
237
238 ui::MenuModel* ShellDelegateMus::CreateContextMenu(WmShelf* wm_shelf, 231 ui::MenuModel* ShellDelegateMus::CreateContextMenu(WmShelf* wm_shelf,
239 const ShelfItem* item) { 232 const ShelfItem* item) {
240 NOTIMPLEMENTED(); 233 NOTIMPLEMENTED();
241 return nullptr; 234 return nullptr;
242 } 235 }
243 236
244 GPUSupport* ShellDelegateMus::CreateGPUSupport() { 237 GPUSupport* ShellDelegateMus::CreateGPUSupport() {
245 NOTIMPLEMENTED() << " Using a stub GPUSupport implementation"; 238 NOTIMPLEMENTED() << " Using a stub GPUSupport implementation";
246 return new GPUSupportStub(); 239 return new GPUSupportStub();
247 } 240 }
248 241
249 base::string16 ShellDelegateMus::GetProductName() const { 242 base::string16 ShellDelegateMus::GetProductName() const {
250 NOTIMPLEMENTED(); 243 NOTIMPLEMENTED();
251 return base::string16(); 244 return base::string16();
252 } 245 }
253 246
254 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { 247 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const {
255 NOTIMPLEMENTED(); 248 NOTIMPLEMENTED();
256 return gfx::Image(); 249 return gfx::Image();
257 } 250 }
258 251
259 } // namespace ash 252 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/shell_delegate_mus.h ('k') | ash/pointer_watcher_delegate_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698