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

Unified Diff: ash/test/test_shell_delegate.h

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 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..b3aee0c53d4cab8d52a0a6c6ffca1537bc55a24b 100644
--- a/ash/test/test_shell_delegate.h
+++ b/ash/test/test_shell_delegate.h
@@ -60,6 +60,11 @@ class TestShellDelegate : public ShellDelegate {
base::string16 GetProductName() const override;
gfx::Image GetDeprecatedAcceleratorImage() const override;
+ bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override;
+ void SetTouchscreenEnabledInPrefs(bool enabled,
+ bool use_local_state) override;
+ void UpdateTouchscreenStatusFromPrefs() override;
+
int num_exit_requests() const { return num_exit_requests_; }
app_list::AppListPresenterImpl* app_list_presenter() {
@@ -75,6 +80,7 @@ class TestShellDelegate : public ShellDelegate {
int num_exit_requests_;
bool multi_profiles_enabled_;
bool force_maximize_on_first_run_;
+ bool touchscreen_enabled_in_local_pref_;
std::unique_ptr<app_list::AppListPresenterDelegateFactory>
app_list_presenter_delegate_factory_;
« no previous file with comments | « ash/system/chromeos/power/tablet_power_button_controller_unittest.cc ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698