Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index 0f7581069e62907f4952a9b50cf6526bca494aeb..a6a7b9f1f4049c0e4d7e3a212d28faa3188e888c 100644 |
--- a/public/web/WebFrameClient.h |
+++ b/public/web/WebFrameClient.h |
@@ -36,6 +36,7 @@ |
#include "WebDOMMessageEvent.h" |
#include "WebDataSource.h" |
#include "WebFrame.h" |
+#include "WebFrameOwnerProperties.h" |
#include "WebHistoryCommitType.h" |
#include "WebHistoryItem.h" |
#include "WebIconURL.h" |
@@ -149,7 +150,7 @@ public: |
// until frameDetached() is called on it. |
// Note: If you override this, you should almost certainly be overriding |
// frameDetached(). |
- virtual WebFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType, const WebString& frameName, WebSandboxFlags sandboxFlags) { return nullptr; } |
+ virtual WebFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType, const WebString& frameName, WebSandboxFlags sandboxFlags, const WebFrameOwnerProperties&) { return nullptr; } |
// This frame has set its opener to another frame, or disowned the opener |
// if opener is null. See http://html.spec.whatwg.org/#dom-opener. |
@@ -174,6 +175,15 @@ public: |
// The sandbox flags have changed for a child frame of this frame. |
virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags flags) { } |
+ // The "marginwidth" property has changed for a child frame of this frame. |
+ virtual void didChangeMarginWidth(WebFrame* childFrame, int newMarginWidth) {} |
+ |
+ // The "marginheight" property has changed for a child frame of this frame. |
+ virtual void didChangeMarginHeight(WebFrame* childFrame, int newMarginHeight) {} |
+ |
+ // The "scrolling" property has changed for a child frame of this frame. |
+ virtual void didChangeScrollingMode(WebFrame* childFrame, WebFrameOwnerProperties::ScrollingMode) {} |
+ |
// Called when a watched CSS selector matches or stops matching. |
virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMatchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { } |