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 16 matching lines...) Expand all Loading... |
27 #include "StyleElement.h" | 27 #include "StyleElement.h" |
28 | 28 |
29 namespace WebCore { | 29 namespace WebCore { |
30 | 30 |
31 class HTMLStyleElement; | 31 class HTMLStyleElement; |
32 class StyleSheet; | 32 class StyleSheet; |
33 | 33 |
34 template<typename T> class EventSender; | 34 template<typename T> class EventSender; |
35 typedef EventSender<HTMLStyleElement> StyleEventSender; | 35 typedef EventSender<HTMLStyleElement> StyleEventSender; |
36 | 36 |
37 class HTMLStyleElement : public HTMLElement, private StyleElement { | 37 class HTMLStyleElement FINAL : public HTMLElement, private StyleElement { |
38 public: | 38 public: |
39 static PassRefPtr<HTMLStyleElement> create(const QualifiedName&, Document*,
bool createdByParser); | 39 static PassRefPtr<HTMLStyleElement> create(const QualifiedName&, Document*,
bool createdByParser); |
40 virtual ~HTMLStyleElement(); | 40 virtual ~HTMLStyleElement(); |
41 | 41 |
42 void setType(const AtomicString&); | 42 void setType(const AtomicString&); |
43 | 43 |
44 bool scoped() const; | 44 bool scoped() const; |
45 void setScoped(bool); | 45 void setScoped(bool); |
46 Element* scopingElement() const; | 46 Element* scopingElement() const; |
47 bool isRegisteredAsScoped() const | 47 bool isRegisteredAsScoped() const |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 NotRegistered, | 93 NotRegistered, |
94 RegisteredAsScoped, | 94 RegisteredAsScoped, |
95 RegisteredInShadowRoot | 95 RegisteredInShadowRoot |
96 }; | 96 }; |
97 ScopedStyleRegistrationState m_scopedStyleRegistrationState; | 97 ScopedStyleRegistrationState m_scopedStyleRegistrationState; |
98 }; | 98 }; |
99 | 99 |
100 } //namespace | 100 } //namespace |
101 | 101 |
102 #endif | 102 #endif |
OLD | NEW |