| 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/gpu_support_stub.h" | 9 #include "ash/gpu_support_stub.h" |
| 10 #include "ash/mus/accessibility_delegate_mus.h" | 10 #include "ash/mus/accessibility_delegate_mus.h" |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 AccessibilityDelegate* ShellDelegateMus::CreateAccessibilityDelegate() { | 127 AccessibilityDelegate* ShellDelegateMus::CreateAccessibilityDelegate() { |
| 128 return new AccessibilityDelegateMus(connector_); | 128 return new AccessibilityDelegateMus(connector_); |
| 129 } | 129 } |
| 130 | 130 |
| 131 std::unique_ptr<PaletteDelegate> ShellDelegateMus::CreatePaletteDelegate() { | 131 std::unique_ptr<PaletteDelegate> ShellDelegateMus::CreatePaletteDelegate() { |
| 132 // TODO: http://crbug.com/647417. | 132 // TODO: http://crbug.com/647417. |
| 133 NOTIMPLEMENTED(); | 133 NOTIMPLEMENTED(); |
| 134 return nullptr; | 134 return nullptr; |
| 135 } | 135 } |
| 136 | 136 |
| 137 ui::MenuModel* ShellDelegateMus::CreateContextMenu(WmShelf* wm_shelf, | 137 ui::MenuModel* ShellDelegateMus::CreateContextMenu(Shelf* shelf, |
| 138 const ShelfItem* item) { | 138 const ShelfItem* item) { |
| 139 return new ContextMenuMus(wm_shelf); | 139 return new ContextMenuMus(shelf); |
| 140 } | 140 } |
| 141 | 141 |
| 142 GPUSupport* ShellDelegateMus::CreateGPUSupport() { | 142 GPUSupport* ShellDelegateMus::CreateGPUSupport() { |
| 143 // TODO: http://crbug.com/647421. | 143 // TODO: http://crbug.com/647421. |
| 144 NOTIMPLEMENTED() << " Using a stub GPUSupport implementation"; | 144 NOTIMPLEMENTED() << " Using a stub GPUSupport implementation"; |
| 145 return new GPUSupportStub(); | 145 return new GPUSupportStub(); |
| 146 } | 146 } |
| 147 | 147 |
| 148 base::string16 ShellDelegateMus::GetProductName() const { | 148 base::string16 ShellDelegateMus::GetProductName() const { |
| 149 NOTIMPLEMENTED(); | 149 NOTIMPLEMENTED(); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 171 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled, | 171 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled, |
| 172 bool use_local_state) { | 172 bool use_local_state) { |
| 173 NOTIMPLEMENTED(); | 173 NOTIMPLEMENTED(); |
| 174 } | 174 } |
| 175 | 175 |
| 176 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() { | 176 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() { |
| 177 NOTIMPLEMENTED(); | 177 NOTIMPLEMENTED(); |
| 178 } | 178 } |
| 179 | 179 |
| 180 } // namespace ash | 180 } // namespace ash |
| OLD | NEW |