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

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

Issue 2827193004: Make PrefService available in *ash (Closed)
Patch Set: Adding NOTREACHED() comment. Created 3 years, 8 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/shell.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/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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 base::string16 ShellDelegateMus::GetProductName() const { 148 base::string16 ShellDelegateMus::GetProductName() const {
149 NOTIMPLEMENTED(); 149 NOTIMPLEMENTED();
150 return base::string16(); 150 return base::string16();
151 } 151 }
152 152
153 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { 153 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const {
154 NOTIMPLEMENTED(); 154 NOTIMPLEMENTED();
155 return gfx::Image(); 155 return gfx::Image();
156 } 156 }
157 157
158 PrefService* ShellDelegateMus::GetActiveUserPrefService() const {
159 // This code should never be called in the case of Config::MASH. Rather, the
160 // PrefService instance is stored by Shell when it manages to connect to the
161 // pref service in Chrome.
162 NOTREACHED();
163 return nullptr;
164 }
165
158 bool ShellDelegateMus::IsTouchscreenEnabledInPrefs(bool use_local_state) const { 166 bool ShellDelegateMus::IsTouchscreenEnabledInPrefs(bool use_local_state) const {
159 NOTIMPLEMENTED(); 167 NOTIMPLEMENTED();
160 return true; 168 return true;
161 } 169 }
162 170
163 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled, 171 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled,
164 bool use_local_state) { 172 bool use_local_state) {
165 NOTIMPLEMENTED(); 173 NOTIMPLEMENTED();
166 } 174 }
167 175
168 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() { 176 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() {
169 NOTIMPLEMENTED(); 177 NOTIMPLEMENTED();
170 } 178 }
171 179
172 } // namespace ash 180 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/shell_delegate_mus.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698