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

Side by Side Diff: ash/shell/shell_delegate_impl.cc

Issue 2533373002: Enabled/disable touch screen in TabletPowerButtonController (Closed)
Patch Set: nits Created 4 years 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
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/app_list/app_list_presenter_delegate_factory.h" 7 #include "ash/app_list/app_list_presenter_delegate_factory.h"
8 #include "ash/common/accessibility_delegate.h" 8 #include "ash/common/accessibility_delegate.h"
9 #include "ash/common/default_accessibility_delegate.h" 9 #include "ash/common/default_accessibility_delegate.h"
10 #include "ash/common/gpu_support_stub.h" 10 #include "ash/common/gpu_support_stub.h"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 } 258 }
259 259
260 base::string16 ShellDelegateImpl::GetProductName() const { 260 base::string16 ShellDelegateImpl::GetProductName() const {
261 return base::string16(); 261 return base::string16();
262 } 262 }
263 263
264 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { 264 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const {
265 return gfx::Image(); 265 return gfx::Image();
266 } 266 }
267 267
268 bool ShellDelegateImpl::IsTouchscreenEnabledInPrefs(
269 bool use_local_state) const {
270 return true;
271 }
272
273 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled,
274 bool use_local_state) {}
275
276 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {}
277
268 } // namespace shell 278 } // namespace shell
269 } // namespace ash 279 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/system/chromeos/power/tablet_power_button_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698