| 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" |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 | 189 |
| 190 NewWindowDelegate* ShellDelegateMus::CreateNewWindowDelegate() { | 190 NewWindowDelegate* ShellDelegateMus::CreateNewWindowDelegate() { |
| 191 return new mus::NewWindowDelegateMus; | 191 return new mus::NewWindowDelegateMus; |
| 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 PaletteDelegate* ShellDelegateMus::CreatePaletteDelegate() { |
| 200 NOTIMPLEMENTED(); |
| 201 return nullptr; |
| 202 } |
| 203 |
| 199 std::unique_ptr<PointerWatcherDelegate> | 204 std::unique_ptr<PointerWatcherDelegate> |
| 200 ShellDelegateMus::CreatePointerWatcherDelegate() { | 205 ShellDelegateMus::CreatePointerWatcherDelegate() { |
| 201 NOTIMPLEMENTED(); | 206 NOTIMPLEMENTED(); |
| 202 return nullptr; | 207 return nullptr; |
| 203 } | 208 } |
| 204 | 209 |
| 205 ui::MenuModel* ShellDelegateMus::CreateContextMenu(WmShelf* wm_shelf, | 210 ui::MenuModel* ShellDelegateMus::CreateContextMenu(WmShelf* wm_shelf, |
| 206 const ShelfItem* item) { | 211 const ShelfItem* item) { |
| 207 NOTIMPLEMENTED(); | 212 NOTIMPLEMENTED(); |
| 208 return nullptr; | 213 return nullptr; |
| 209 } | 214 } |
| 210 | 215 |
| 211 GPUSupport* ShellDelegateMus::CreateGPUSupport() { | 216 GPUSupport* ShellDelegateMus::CreateGPUSupport() { |
| 212 NOTIMPLEMENTED() << " Using a stub GPUSupport implementation"; | 217 NOTIMPLEMENTED() << " Using a stub GPUSupport implementation"; |
| 213 return new GPUSupportStub(); | 218 return new GPUSupportStub(); |
| 214 } | 219 } |
| 215 | 220 |
| 216 base::string16 ShellDelegateMus::GetProductName() const { | 221 base::string16 ShellDelegateMus::GetProductName() const { |
| 217 NOTIMPLEMENTED(); | 222 NOTIMPLEMENTED(); |
| 218 return base::string16(); | 223 return base::string16(); |
| 219 } | 224 } |
| 220 | 225 |
| 221 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { | 226 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { |
| 222 NOTIMPLEMENTED(); | 227 NOTIMPLEMENTED(); |
| 223 return gfx::Image(); | 228 return gfx::Image(); |
| 224 } | 229 } |
| 225 | 230 |
| 226 } // namespace ash | 231 } // namespace ash |
| OLD | NEW |