| Index: third_party/WebKit/public/web/WebFrameClient.h
|
| diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
|
| index fd520576316b589f50d9d4fd4d2f0737b0088d9d..f1ccccc306f6b26595afec5557a5002c9e4bb5a8 100644
|
| --- a/third_party/WebKit/public/web/WebFrameClient.h
|
| +++ b/third_party/WebKit/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"
|
| @@ -153,7 +154,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.
|
| @@ -178,6 +179,11 @@ public:
|
| // The sandbox flags have changed for a child frame of this frame.
|
| virtual void didChangeSandboxFlags(WebFrame* childFrame, WebSandboxFlags flags) { }
|
|
|
| + // Some frame owner properties have changed for a child frame of this frame.
|
| + // Frame owner properties currently include: scrolling, marginwidth and
|
| + // marginheight.
|
| + virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, const WebFrameOwnerProperties&) { }
|
| +
|
| // Called when a watched CSS selector matches or stops matching.
|
| virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMatchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { }
|
|
|
|
|