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 b617c2717cc2b03a61cac8aa840d4e552b1ced80..cd38a191e1cd693c9c7e149fe1212681e58699ea 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 |
@@ -45,16 +45,6 @@ void AppsGridViewTestApi::PressItemAt(int index) { |
ui::KeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_RETURN, ui::EF_NONE)); |
} |
-void AppsGridViewTestApi::DisableSynchronousDrag() { |
-#if defined(OS_WIN) |
- DCHECK(view_->synchronous_drag_.Get() == NULL) |
- << "DisableSynchronousDrag needs to " |
- "be called before " |
- "synchronous_drag_ is set up."; |
- view_->use_synchronous_drag_ = false; |
-#endif |
-} |
- |
bool AppsGridViewTestApi::HasPendingPageFlip() const { |
return view_->page_flip_timer_.IsRunning() || |
view_->pagination_model()->has_transition(); |