OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 4 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
5 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "core/html/HTMLFrameElementBase.h" | 28 #include "core/html/HTMLFrameElementBase.h" |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 class HTMLIFrameElement final : public HTMLFrameElementBase, public DOMSettableT
okenListObserver { | 32 class HTMLIFrameElement final : public HTMLFrameElementBase, public DOMSettableT
okenListObserver { |
33 DEFINE_WRAPPERTYPEINFO(); | 33 DEFINE_WRAPPERTYPEINFO(); |
34 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLIFrameElement); | 34 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLIFrameElement); |
35 public: | 35 public: |
36 DECLARE_NODE_FACTORY(HTMLIFrameElement); | 36 DECLARE_NODE_FACTORY(HTMLIFrameElement); |
37 DECLARE_VIRTUAL_TRACE(); | 37 DECLARE_VIRTUAL_TRACE(); |
38 virtual ~HTMLIFrameElement(); | 38 ~HTMLIFrameElement() override; |
39 DOMSettableTokenList* sandbox() const; | 39 DOMSettableTokenList* sandbox() const; |
40 | 40 |
41 private: | 41 private: |
42 explicit HTMLIFrameElement(Document&); | 42 explicit HTMLIFrameElement(Document&); |
43 | 43 |
44 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 44 void parseAttribute(const QualifiedName&, const AtomicString&) override; |
45 virtual void attributeWillChange(const QualifiedName&, const AtomicString& o
ldValue, const AtomicString& newValue) override; | 45 void attributeWillChange(const QualifiedName&, const AtomicString& oldValue,
const AtomicString& newValue) override; |
46 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 46 bool isPresentationAttribute(const QualifiedName&) const override; |
47 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; | 47 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; |
48 | 48 |
49 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 49 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
50 virtual void removedFrom(ContainerNode*) override; | 50 void removedFrom(ContainerNode*) override; |
51 | 51 |
52 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override; | 52 bool layoutObjectIsNeeded(const ComputedStyle&) override; |
53 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 53 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
54 | 54 |
55 virtual bool loadedNonEmptyDocument() const override { return m_didLoadNonEm
ptyDocument; } | 55 bool loadedNonEmptyDocument() const override { return m_didLoadNonEmptyDocum
ent; } |
56 virtual void didLoadNonEmptyDocument() override { m_didLoadNonEmptyDocument
= true; } | 56 void didLoadNonEmptyDocument() override { m_didLoadNonEmptyDocument = true;
} |
57 virtual bool isInteractiveContent() const override; | 57 bool isInteractiveContent() const override; |
58 | 58 |
59 virtual void valueChanged() override; | 59 void valueChanged() override; |
60 | 60 |
61 AtomicString m_name; | 61 AtomicString m_name; |
62 bool m_didLoadNonEmptyDocument; | 62 bool m_didLoadNonEmptyDocument; |
63 RefPtrWillBeMember<DOMSettableTokenList> m_sandbox; | 63 RefPtrWillBeMember<DOMSettableTokenList> m_sandbox; |
64 }; | 64 }; |
65 | 65 |
66 } // namespace blink | 66 } // namespace blink |
67 | 67 |
68 #endif // HTMLIFrameElement_h | 68 #endif // HTMLIFrameElement_h |
OLD | NEW |