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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp

Issue 2881393002: Count cross-origin property access. (Closed)
Patch Set: Nits + Rebase. Created 3 years, 7 months 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/tests/sim/SimWebViewClient.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp
diff --git a/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp b/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp
index 880676d4dfebf0a05220f91795150e9d4821335b..6369fd224c590318204d39cefab5d09d76b55372 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp
+++ b/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp
@@ -5,6 +5,7 @@
#include "web/tests/sim/SimWebViewClient.h"
#include "public/platform/WebLayerTreeView.h"
+#include "public/web/WebLocalFrame.h"
namespace blink {
@@ -29,4 +30,13 @@ void SimWebViewClient::DidMeaningfulLayout(
}
}
+WebView* SimWebViewClient::CreateView(WebLocalFrame* opener,
+ const WebURLRequest&,
+ const WebWindowFeatures&,
+ const WebString& name,
+ WebNavigationPolicy,
+ bool) {
+ return web_view_helper_.InitializeWithOpener(opener, true);
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/tests/sim/SimWebViewClient.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698