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

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

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Addressing review comments Created 3 years, 8 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/WebFrameTest.cpp ('k') | third_party/WebKit/public/web/WebFrame.h » ('j') | 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 64325629d3406ef674195a8938db0d864e8d3eb4..3c3e180431da6ca1008d1aabdbc8fa57916bf2b8 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -3143,6 +3143,7 @@ class CreateChildCounterFrameClient
const WebString& name,
const WebString& fallback_name,
WebSandboxFlags,
+ const WebParsedFeaturePolicy&,
const WebFrameOwnerProperties&) override;
int Count() const { return count_; }
@@ -3157,11 +3158,12 @@ WebLocalFrame* CreateChildCounterFrameClient::CreateChildFrame(
const WebString& name,
const WebString& fallback_name,
WebSandboxFlags sandbox_flags,
+ const WebParsedFeaturePolicy& container_policy,
const WebFrameOwnerProperties& frame_owner_properties) {
++count_;
- return TestWebFrameClient::CreateChildFrame(parent, scope, name,
- fallback_name, sandbox_flags,
- frame_owner_properties);
+ return TestWebFrameClient::CreateChildFrame(
+ parent, scope, name, fallback_name, sandbox_flags, container_policy,
+ frame_owner_properties);
}
TEST_P(WebViewTest, ChangeDisplayMode) {
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | third_party/WebKit/public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698