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

Unified Diff: components/test_runner/web_view_test_client.cc

Issue 2475443003: Drag-and-drop: Move startDrag out of WebView/RenderView. (Closed)
Patch Set: Removed unneeded declarations. Created 4 years, 1 month 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
« no previous file with comments | « components/test_runner/web_view_test_client.h ('k') | components/test_runner/web_view_test_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_view_test_client.cc
diff --git a/components/test_runner/web_view_test_client.cc b/components/test_runner/web_view_test_client.cc
index c2f41e712b81484e945d2fb5e367dbf4163981e8..276e404fb7aa3b7cba09bab744c423b383062cad 100644
--- a/components/test_runner/web_view_test_client.cc
+++ b/components/test_runner/web_view_test_client.cc
@@ -37,19 +37,6 @@ WebViewTestClient::WebViewTestClient(
WebViewTestClient::~WebViewTestClient() {}
-void WebViewTestClient::startDragging(blink::WebLocalFrame* frame,
- const blink::WebDragData& data,
- blink::WebDragOperationsMask mask,
- const blink::WebImage& image,
- const blink::WebPoint& point) {
- test_runner()->setDragImage(image);
-
- // When running a test, we need to fake a drag drop operation otherwise
- // Windows waits for real mouse events to know when the drag is over.
- delegate()->GetWebWidgetTestProxyBase(frame)->event_sender()->DoDragDrop(
- data, mask);
-}
-
// The output from these methods in layout test mode should match that
// expected by the layout tests. See EditingDelegate.m in DumpRenderTree.
« no previous file with comments | « components/test_runner/web_view_test_client.h ('k') | components/test_runner/web_view_test_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698