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

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

Issue 2533373002: Enabled/disable touch screen in TabletPowerButtonController (Closed)
Patch Set: incorporate comments from gab@ and afakhry@ 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(bool is_local) const {
269 return true;
Daniel Erat 2016/12/02 21:48:56 should these have NOTIMPLEMENTED() as well? i thin
Qiang(Joe) Xu 2016/12/02 23:55:10 I think they will never be implemented here as thi
270 }
271
272 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled,
273 bool is_local) {}
274
275 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {}
276
268 } // namespace shell 277 } // namespace shell
269 } // namespace ash 278 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698