| Index: ui/app_list/views/test/apps_grid_view_test_api.cc
|
| diff --git a/ui/app_list/views/test/apps_grid_view_test_api.cc b/ui/app_list/views/test/apps_grid_view_test_api.cc
|
| index 5e425c384884f014fad91a104c696b8327309c97..6b95b17caa6e2bdbc2590dc16a79b1f38f89d029 100644
|
| --- a/ui/app_list/views/test/apps_grid_view_test_api.cc
|
| +++ b/ui/app_list/views/test/apps_grid_view_test_api.cc
|
| @@ -36,5 +36,14 @@ void AppsGridViewTestApi::PressItemAt(int index) {
|
| ui::KeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_RETURN, 0, false));
|
| }
|
|
|
| +void AppsGridViewTestApi::DisableSynchronousDrag() {
|
| +#if defined(OS_WIN)
|
| + DCHECK(view_->synchronous_drag_ == NULL) << "DisableSynchronousDrag needs to "
|
| + "be called before "
|
| + "synchronous_drag_ is set up.";
|
| + view_->use_synchronous_drag_ = false;
|
| +#endif
|
| +}
|
| +
|
| } // namespace test
|
| } // namespace app_list
|
|
|