| Index: third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.h b/third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.h
|
| index a4e5238cd6e0c691c682dd75ea376000c988364f..f676af0a3f3049016c83504b09d33e7e156c861e 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLIFrameElementSandbox.h
|
| @@ -6,21 +6,33 @@
|
| #define HTMLIFrameElementSandbox_h
|
|
|
| #include "core/dom/DOMTokenList.h"
|
| +#include "platform/heap/GarbageCollected.h"
|
| +#include "platform/heap/Visitor.h"
|
|
|
| namespace blink {
|
|
|
| -class HTMLIFrameElementSandbox final : public DOMTokenList {
|
| +class HTMLIFrameElement;
|
| +
|
| +class HTMLIFrameElementSandbox final : public DOMTokenList, public DOMTokenListObserver {
|
| + USING_GARBAGE_COLLECTED_MIXIN(HTMLIFrameElementSandbox);
|
| public:
|
| - static HTMLIFrameElementSandbox* create(DOMTokenListObserver* observer = nullptr)
|
| + static HTMLIFrameElementSandbox* create(HTMLIFrameElement* element)
|
| {
|
| - return new HTMLIFrameElementSandbox(observer);
|
| + return new HTMLIFrameElementSandbox(element);
|
| }
|
|
|
| ~HTMLIFrameElementSandbox() override;
|
|
|
| + DECLARE_VIRTUAL_TRACE();
|
| +
|
| private:
|
| - explicit HTMLIFrameElementSandbox(DOMTokenListObserver*);
|
| + explicit HTMLIFrameElementSandbox(HTMLIFrameElement*);
|
| bool validateTokenValue(const AtomicString&, ExceptionState&) const override;
|
| +
|
| + // DOMTokenListObserver.
|
| + void valueWasSet() override;
|
| +
|
| + Member<HTMLIFrameElement> m_element;
|
| };
|
|
|
| } // namespace blink
|
|
|