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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2507023002: Support script modify iframe scrolling, marginWidth and marginHeight attr (Closed)
Patch Set: bokan@ comment#19 addressed 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: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 5bc1abbd513505af58c601b72bfe74f6b99df791..bfa3cd15cff1c5c51e9415d79fc7edd00cec7873 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -55,6 +55,7 @@
#include "core/page/PageVisibilityState.h"
#include "platform/Length.h"
#include "platform/Timer.h"
+#include "platform/scroll/ScrollTypes.h"
#include "platform/weborigin/KURL.h"
#include "platform/weborigin/ReferrerPolicy.h"
#include "public/platform/WebFocusType.h"
@@ -823,6 +824,8 @@ class CORE_EXPORT Document : public ContainerNode,
// this is the top level document or the owner is remote.
HTMLFrameOwnerElement* localOwner() const;
+ void willChangeFrameOwnerProperties(int, int, ScrollbarMode);
alexmos 2016/11/21 17:56:56 nit: might be better to include the arg names here
+
// Returns true if this document belongs to a frame that the parent document
// made invisible (for instance by setting as style display:none).
bool isInInvisibleSubframe() const;

Powered by Google App Engine
This is Rietveld 408576698