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

Unified Diff: ash/test/test_shell_delegate.h

Issue 2533373002: Enabled/disable touch screen in TabletPowerButtonController (Closed)
Patch Set: add SetTouchscreenEnabled and OnLoginStateChanged 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..09527439d58d59bb2bd74d045ec0186596988a78 100644
--- a/ash/test/test_shell_delegate.h
+++ b/ash/test/test_shell_delegate.h
@@ -59,6 +59,8 @@ class TestShellDelegate : public ShellDelegate {
GPUSupport* CreateGPUSupport() override;
base::string16 GetProductName() const override;
gfx::Image GetDeprecatedAcceleratorImage() const override;
+ bool IsTouchscreenEnabled() const override;
+ void SetTouchscreenEnabled(bool enabled) override;
int num_exit_requests() const { return num_exit_requests_; }
@@ -75,6 +77,7 @@ class TestShellDelegate : public ShellDelegate {
int num_exit_requests_;
bool multi_profiles_enabled_;
bool force_maximize_on_first_run_;
+ bool touch_screen_enabled_;
std::unique_ptr<app_list::AppListPresenterDelegateFactory>
app_list_presenter_delegate_factory_;

Powered by Google App Engine
This is Rietveld 408576698