Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index c77a394480bee1982c3a71cc3d41637ba68c01b0..88d3ab031a3f540d3494ca8044fb906c3294adef 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; } |
alexmos
2015/09/02 21:37:06
Changing this signature was "fun" the last time I
lazyboy
2015/09/15 01:40:33
This probably moved to components/printing/rendere
alexmos
2015/09/16 00:36:47
Yes, looks like it.
|
// This frame set its opener to null, disowning it. |
// See http://html.spec.whatwg.org/#dom-opener. |
@@ -179,6 +180,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) { } |