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

Side by Side Diff: ash/shell/shell_delegate_impl.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/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/shell/shell_delegate_impl.h" 5 #include "ash/shell/shell_delegate_impl.h"
6 6
7 #include "ash/accessibility_delegate.h" 7 #include "ash/accessibility_delegate.h"
8 #include "ash/default_accessibility_delegate.h" 8 #include "ash/default_accessibility_delegate.h"
9 #include "ash/default_wallpaper_delegate.h" 9 #include "ash/default_wallpaper_delegate.h"
10 #include "ash/gpu_support_stub.h" 10 #include "ash/gpu_support_stub.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 160 }
161 161
162 base::string16 ShellDelegateImpl::GetProductName() const { 162 base::string16 ShellDelegateImpl::GetProductName() const {
163 return base::string16(); 163 return base::string16();
164 } 164 }
165 165
166 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { 166 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const {
167 return gfx::Image(); 167 return gfx::Image();
168 } 168 }
169 169
170 PrefService* ShellDelegateImpl::GetActiveUserPrefService() const {
171 return nullptr;
172 }
173
170 bool ShellDelegateImpl::IsTouchscreenEnabledInPrefs( 174 bool ShellDelegateImpl::IsTouchscreenEnabledInPrefs(
171 bool use_local_state) const { 175 bool use_local_state) const {
172 return true; 176 return true;
173 } 177 }
174 178
175 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled, 179 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled,
176 bool use_local_state) {} 180 bool use_local_state) {}
177 181
178 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {} 182 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {}
179 183
180 } // namespace shell 184 } // namespace shell
181 } // namespace ash 185 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698