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

Unified Diff: components/test_runner/web_widget_test_proxy.h

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
Index: components/test_runner/web_widget_test_proxy.h
diff --git a/components/test_runner/web_widget_test_proxy.h b/components/test_runner/web_widget_test_proxy.h
index a9377be84b05ed6be0589a4388fb7a91bd6ce2ef..203d48b16a8843652ca25197bf46f17474f8b5d7 100644
--- a/components/test_runner/web_widget_test_proxy.h
+++ b/components/test_runner/web_widget_test_proxy.h
@@ -123,6 +123,15 @@ class WebWidgetTestProxy : public Base, public WebWidgetTestProxyBase {
widget_test_client()->setToolTipText(text, hint);
}
void resetInputMethod() override { widget_test_client()->resetInputMethod(); }
+ void startDragging(blink::WebReferrerPolicy policy,
+ const blink::WebDragData& data,
+ blink::WebDragOperationsMask mask,
+ const blink::WebImage& image,
+ const blink::WebPoint& point) override {
+ widget_test_client()->startDragging(policy, data, mask, image, point);
+ // Don't forward this call to Base because we don't want to do a real
+ // drag-and-drop.
+ }
private:
virtual ~WebWidgetTestProxy() {}
« no previous file with comments | « components/test_runner/web_widget_test_client.cc ('k') | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698