| Index: ash/test/test_shell_delegate.cc
|
| diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
|
| index 8e2fceacf5eac1fa20f0ab562ae3e160f06ff650..4d741f94492420116eb1e0541e2726a67a39ab1b 100644
|
| --- a/ash/test/test_shell_delegate.cc
|
| +++ b/ash/test/test_shell_delegate.cc
|
| @@ -86,6 +86,7 @@ TestShellDelegate::TestShellDelegate()
|
| : num_exit_requests_(0),
|
| multi_profiles_enabled_(false),
|
| force_maximize_on_first_run_(false),
|
| + touch_screen_enabled_(true),
|
| app_list_presenter_delegate_factory_(new AppListPresenterDelegateFactory(
|
| base::WrapUnique(new AppListViewDelegateFactoryImpl))) {}
|
|
|
| @@ -184,6 +185,14 @@ gfx::Image TestShellDelegate::GetDeprecatedAcceleratorImage() const {
|
| return gfx::Image();
|
| }
|
|
|
| +bool TestShellDelegate::IsTouchscreenEnabled() const {
|
| + return touch_screen_enabled_;
|
| +}
|
| +
|
| +void TestShellDelegate::SetTouchscreenEnabled(bool enabled) {
|
| + touch_screen_enabled_ = enabled;
|
| +}
|
| +
|
| void TestShellDelegate::SetMediaCaptureState(MediaCaptureState state) {
|
| #if defined(OS_CHROMEOS)
|
| static_cast<MediaDelegateImpl*>(WmShell::Get()->media_delegate())
|
|
|