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

Unified Diff: third_party/WebKit/public/web/WebFrameOwnerProperties.h

Issue 2743053003: [Reland #1] Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: rebaseline. Created 3 years, 9 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebFrameOwnerProperties.h
diff --git a/third_party/WebKit/public/web/WebFrameOwnerProperties.h b/third_party/WebKit/public/web/WebFrameOwnerProperties.h
index 9dce98f3392c764bd11f28fe54592aab91efe1c3..ca35278a31c306d79e4d53001a039a396a2ac6c0 100644
--- a/third_party/WebKit/public/web/WebFrameOwnerProperties.h
+++ b/third_party/WebKit/public/web/WebFrameOwnerProperties.h
@@ -22,6 +22,7 @@ struct WebFrameOwnerProperties {
int marginHeight;
bool allowFullscreen;
bool allowPaymentRequest;
+ bool isDisplayNone;
WebString requiredCsp;
public:
@@ -32,7 +33,8 @@ struct WebFrameOwnerProperties {
marginWidth(-1),
marginHeight(-1),
allowFullscreen(false),
- allowPaymentRequest(false) {}
+ allowPaymentRequest(false),
+ isDisplayNone(false) {}
#if INSIDE_BLINK
WebFrameOwnerProperties(
@@ -42,6 +44,7 @@ struct WebFrameOwnerProperties {
int marginHeight,
bool allowFullscreen,
bool allowPaymentRequest,
+ bool isDisplayNone,
const WebString& requiredCsp,
const WebVector<WebFeaturePolicyFeature>& allowedFeatures)
: name(name),
@@ -50,6 +53,7 @@ struct WebFrameOwnerProperties {
marginHeight(marginHeight),
allowFullscreen(allowFullscreen),
allowPaymentRequest(allowPaymentRequest),
+ isDisplayNone(isDisplayNone),
requiredCsp(requiredCsp),
allowedFeatures(allowedFeatures) {}
#endif
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698