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/palette_delegate.h" | 10 #include "ash/common/palette_delegate.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 keyboard::KeyboardUI* ShellDelegateMus::CreateKeyboardUI() { | 140 keyboard::KeyboardUI* ShellDelegateMus::CreateKeyboardUI() { |
141 NOTIMPLEMENTED(); | 141 NOTIMPLEMENTED(); |
142 return nullptr; | 142 return nullptr; |
143 } | 143 } |
144 | 144 |
145 void ShellDelegateMus::OpenUrlFromArc(const GURL& url) { | 145 void ShellDelegateMus::OpenUrlFromArc(const GURL& url) { |
146 NOTIMPLEMENTED(); | 146 NOTIMPLEMENTED(); |
147 } | 147 } |
148 | 148 |
149 app_list::AppListPresenter* ShellDelegateMus::GetAppListPresenter() { | |
150 return &app_list_presenter_; | |
151 } | |
152 | |
153 ShelfDelegate* ShellDelegateMus::CreateShelfDelegate(ShelfModel* model) { | 149 ShelfDelegate* ShellDelegateMus::CreateShelfDelegate(ShelfModel* model) { |
154 return new ShelfDelegateMus(); | 150 return new ShelfDelegateMus(); |
155 } | 151 } |
156 | 152 |
157 SystemTrayDelegate* ShellDelegateMus::CreateSystemTrayDelegate() { | 153 SystemTrayDelegate* ShellDelegateMus::CreateSystemTrayDelegate() { |
158 #if defined(OS_CHROMEOS) | 154 #if defined(OS_CHROMEOS) |
159 return new SystemTrayDelegateMus(); | 155 return new SystemTrayDelegateMus(); |
160 #else | 156 #else |
161 // Windows and Linux do not support the services required for most system tray | 157 // Windows and Linux do not support the services required for most system tray |
162 // items. Use the same stub delegate as ash_shell_with_content. | 158 // items. Use the same stub delegate as ash_shell_with_content. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled, | 209 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled, |
214 bool use_local_state) { | 210 bool use_local_state) { |
215 NOTIMPLEMENTED(); | 211 NOTIMPLEMENTED(); |
216 } | 212 } |
217 | 213 |
218 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() { | 214 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() { |
219 NOTIMPLEMENTED(); | 215 NOTIMPLEMENTED(); |
220 } | 216 } |
221 | 217 |
222 } // namespace ash | 218 } // namespace ash |
OLD | NEW |