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

Unified Diff: ash/test/test_shell_delegate.h

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/test/test_shell_delegate.h
diff --git a/ash/test/test_shell_delegate.h b/ash/test/test_shell_delegate.h
index 143fa14ddb5cbcadb604a9ea1ecf38150b0b2ea3..347a53e4cb90bee24c670cbcc03590221d5ae905 100644
--- a/ash/test/test_shell_delegate.h
+++ b/ash/test/test_shell_delegate.h
@@ -60,6 +60,10 @@ class TestShellDelegate : public ShellDelegate {
base::string16 GetProductName() const override;
gfx::Image GetDeprecatedAcceleratorImage() const override;
+ bool IsTouchscreenEnabledInPrefs(bool is_local) const override;
+ void SetTouchscreenEnabledInPrefs(bool enabled, bool is_local) override;
+ void UpdateTouchscreenStatusFromPrefs() override;
+
int num_exit_requests() const { return num_exit_requests_; }
app_list::AppListPresenterImpl* app_list_presenter() {
@@ -75,6 +79,7 @@ class TestShellDelegate : public ShellDelegate {
int num_exit_requests_;
bool multi_profiles_enabled_;
bool force_maximize_on_first_run_;
+ bool touch_screen_enabled_in_local_pref_;
Daniel Erat 2016/12/02 21:48:56 nit: s/touch_screen/touchscreen/ (since the method
Qiang(Joe) Xu 2016/12/02 23:55:11 Done.
std::unique_ptr<app_list::AppListPresenterDelegateFactory>
app_list_presenter_delegate_factory_;

Powered by Google App Engine
This is Rietveld 408576698