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

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

Issue 2507023002: Support script modify iframe scrolling, marginWidth and marginHeight attr (Closed)
Patch Set: remove using namespace 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 ff648dc54f5941a13b4b95676d00e4ed9ddc3074..a97b98bff40f74fbd46dce04e509bea0dc598130 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -59,6 +59,7 @@
#include "platform/Length.h"
#include "platform/Timer.h"
#include "platform/WebTaskRunner.h"
+#include "platform/scroll/ScrollTypes.h"
#include "platform/weborigin/KURL.h"
#include "platform/weborigin/ReferrerPolicy.h"
#include "public/platform/WebFocusType.h"
@@ -826,6 +827,10 @@ class CORE_EXPORT Document : public ContainerNode,
// this is the top level document or the owner is remote.
HTMLFrameOwnerElement* localOwner() const;
+ void willChangeFrameOwnerProperties(int marginWidth,
+ int marginHeight,
+ ScrollbarMode);
+
// 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