| 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 * Copyright (C) 2003, 2010 Apple Inc. ALl rights reserved. | 4 * Copyright (C) 2003, 2010 Apple Inc. ALl rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 class HTMLStyleElement final : public HTMLElement, private StyleElement { | 36 class HTMLStyleElement final : public HTMLElement, private StyleElement { |
| 37 DEFINE_WRAPPERTYPEINFO(); | 37 DEFINE_WRAPPERTYPEINFO(); |
| 38 public: | 38 public: |
| 39 static PassRefPtr<HTMLStyleElement> create(Document&, bool createdByParser); | 39 static PassRefPtr<HTMLStyleElement> create(Document&, bool createdByParser); |
| 40 virtual ~HTMLStyleElement(); | 40 virtual ~HTMLStyleElement(); |
| 41 | 41 |
| 42 ContainerNode* scopingNode(); | 42 ContainerNode* scopingNode(); |
| 43 | 43 |
| 44 using StyleElement::sheet; | 44 using StyleElement::sheet; |
| 45 | 45 |
| 46 virtual void trace(Visitor*) override; | |
| 47 | |
| 48 private: | 46 private: |
| 49 HTMLStyleElement(Document&, bool createdByParser); | 47 HTMLStyleElement(Document&, bool createdByParser); |
| 50 | 48 |
| 51 // overload from HTMLElement | 49 // overload from HTMLElement |
| 52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 50 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
| 53 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 51 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 54 virtual void didNotifySubtreeInsertionsToDocument() override; | 52 virtual void didNotifySubtreeInsertionsToDocument() override; |
| 55 virtual void removedFrom(ContainerNode*) override; | 53 virtual void removedFrom(ContainerNode*) override; |
| 56 virtual void childrenChanged(const ChildrenChange&) override; | 54 virtual void childrenChanged(const ChildrenChange&) override; |
| 57 | 55 |
| 58 virtual void finishParsingChildren() override; | 56 virtual void finishParsingChildren() override; |
| 59 | 57 |
| 60 virtual const AtomicString& media() const override; | 58 virtual const AtomicString& media() const override; |
| 61 virtual const AtomicString& type() const override; | 59 virtual const AtomicString& type() const override; |
| 62 }; | 60 }; |
| 63 | 61 |
| 64 } // namespace blink | 62 } // namespace blink |
| 65 | 63 |
| 66 #endif // HTMLStyleElement_h | 64 #endif // HTMLStyleElement_h |
| OLD | NEW |