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

Unified Diff: third_party/WebKit/Source/web/tests/WebViewTest.cpp

Issue 2517653003: Drag-and-drop across OOPIFs. (Closed)
Patch Set: 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 | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
index 3240966d898bafd2d579b4dbd84fa9b1a1bc8f07..e00f06aa70a6649aab0bb09558f254099b4e8df7 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -2108,9 +2108,15 @@ TEST_P(WebViewTest, ClientTapHandlingNullWebViewClient) {
WebViewImpl* webView =
WebViewImpl::create(nullptr, WebPageVisibilityStateVisible);
FrameTestHelpers::TestWebFrameClient webFrameClient;
+ FrameTestHelpers::TestWebWidgetClient webWidgetClient;
WebLocalFrame* localFrame =
WebLocalFrame::create(WebTreeScopeType::Document, &webFrameClient);
webView->setMainFrame(localFrame);
+
+ // TODO(dcheng): The main frame widget currently has a special case.
+ // Eliminate this once WebView is no longer a WebWidget.
+ blink::WebFrameWidget::create(&webWidgetClient, webView, localFrame);
+
WebGestureEvent event;
event.type = WebInputEvent::GestureTap;
event.sourceDevice = WebGestureDeviceTouchscreen;
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698