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

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

Issue 2199993002: Add generic PaletteDelegate code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@note-options
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
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/sysui/shell_delegate_mus.h" 5 #include "ash/sysui/shell_delegate_mus.h"
6 6
7 #include "ash/common/default_accessibility_delegate.h" 7 #include "ash/common/default_accessibility_delegate.h"
8 #include "ash/common/gpu_support_stub.h" 8 #include "ash/common/gpu_support_stub.h"
9 #include "ash/common/media_delegate.h" 9 #include "ash/common/media_delegate.h"
10 #include "ash/common/session/session_state_delegate.h" 10 #include "ash/common/session/session_state_delegate.h"
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 NewWindowDelegate* ShellDelegateMus::CreateNewWindowDelegate() { 188 NewWindowDelegate* ShellDelegateMus::CreateNewWindowDelegate() {
189 NOTIMPLEMENTED(); 189 NOTIMPLEMENTED();
190 return nullptr; 190 return nullptr;
191 } 191 }
192 192
193 MediaDelegate* ShellDelegateMus::CreateMediaDelegate() { 193 MediaDelegate* ShellDelegateMus::CreateMediaDelegate() {
194 NOTIMPLEMENTED() << " Using a stub MediaDelegate implementation"; 194 NOTIMPLEMENTED() << " Using a stub MediaDelegate implementation";
195 return new MediaDelegateStub; 195 return new MediaDelegateStub;
196 } 196 }
197 197
198 PaletteDelegate* ShellDelegateMus::CreatePaletteDelegate() {
199 NOTIMPLEMENTED();
200 return nullptr;
201 }
202
198 std::unique_ptr<PointerWatcherDelegate> 203 std::unique_ptr<PointerWatcherDelegate>
199 ShellDelegateMus::CreatePointerWatcherDelegate() { 204 ShellDelegateMus::CreatePointerWatcherDelegate() {
200 return base::WrapUnique(new PointerWatcherDelegateMus); 205 return base::WrapUnique(new PointerWatcherDelegateMus);
201 } 206 }
202 207
203 ui::MenuModel* ShellDelegateMus::CreateContextMenu(WmShelf* wm_shelf, 208 ui::MenuModel* ShellDelegateMus::CreateContextMenu(WmShelf* wm_shelf,
204 const ShelfItem* item) { 209 const ShelfItem* item) {
205 return new ContextMenuMus(wm_shelf); 210 return new ContextMenuMus(wm_shelf);
206 } 211 }
207 212
208 GPUSupport* ShellDelegateMus::CreateGPUSupport() { 213 GPUSupport* ShellDelegateMus::CreateGPUSupport() {
209 NOTIMPLEMENTED() << " Using a stub GPUSupport implementation"; 214 NOTIMPLEMENTED() << " Using a stub GPUSupport implementation";
210 return new GPUSupportStub(); 215 return new GPUSupportStub();
211 } 216 }
212 217
213 base::string16 ShellDelegateMus::GetProductName() const { 218 base::string16 ShellDelegateMus::GetProductName() const {
214 NOTIMPLEMENTED(); 219 NOTIMPLEMENTED();
215 return base::string16(); 220 return base::string16();
216 } 221 }
217 222
218 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { 223 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const {
219 NOTIMPLEMENTED(); 224 NOTIMPLEMENTED();
220 return gfx::Image(); 225 return gfx::Image();
221 } 226 }
222 227
223 } // namespace sysui 228 } // namespace sysui
224 } // namespace ash 229 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698