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 22 matching lines...) Expand all Loading... |
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 FINAL : public HTMLElement, private StyleElement { | 37 class HTMLStyleElement FINAL : public HTMLElement, private StyleElement { |
38 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLStyleElement); | 38 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLStyleElement); |
39 public: | 39 public: |
40 static PassRefPtrWillBeRawPtr<HTMLStyleElement> create(Document&, bool creat
edByParser); | 40 static PassRefPtrWillBeRawPtr<HTMLStyleElement> create(Document&, bool creat
edByParser); |
41 virtual ~HTMLStyleElement(); | 41 virtual ~HTMLStyleElement(); |
42 | 42 |
43 void setType(const AtomicString&); | |
44 | |
45 ContainerNode* scopingNode(); | 43 ContainerNode* scopingNode(); |
46 | 44 |
47 using StyleElement::sheet; | 45 using StyleElement::sheet; |
48 | 46 |
49 bool disabled() const; | 47 bool disabled() const; |
50 void setDisabled(bool); | 48 void setDisabled(bool); |
51 | 49 |
52 void dispatchPendingEvent(StyleEventSender*); | 50 void dispatchPendingEvent(StyleEventSender*); |
53 static void dispatchPendingLoadEvents(); | 51 static void dispatchPendingLoadEvents(); |
54 | 52 |
(...skipping 18 matching lines...) Expand all Loading... |
73 virtual const AtomicString& media() const OVERRIDE; | 71 virtual const AtomicString& media() const OVERRIDE; |
74 virtual const AtomicString& type() const OVERRIDE; | 72 virtual const AtomicString& type() const OVERRIDE; |
75 | 73 |
76 bool m_firedLoad; | 74 bool m_firedLoad; |
77 bool m_loadedSheet; | 75 bool m_loadedSheet; |
78 }; | 76 }; |
79 | 77 |
80 } //namespace | 78 } //namespace |
81 | 79 |
82 #endif | 80 #endif |
OLD | NEW |