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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ash/shell/shell_delegate_impl.cc
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index 76e340fa4c5176516ff1e7a6f26b350e8ff5c5ff..f36aa473b6852b2e9af513e6e0bc03aa1f62fba9 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -265,5 +265,14 @@ gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const {
return gfx::Image();
}
+bool ShellDelegateImpl::IsTouchscreenEnabledInPrefs(bool is_local) const {
+ 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
+}
+
+void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled,
+ bool is_local) {}
+
+void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {}
+
} // namespace shell
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698