| 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, 2008, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2011 Google Inc. All rights reserved. | 5 * Copyright (C) 2011 Google 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LinkStyle); | 61 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LinkStyle); |
| 62 public: | 62 public: |
| 63 static PassOwnPtrWillBeRawPtr<LinkStyle> create(HTMLLinkElement* owner); | 63 static PassOwnPtrWillBeRawPtr<LinkStyle> create(HTMLLinkElement* owner); |
| 64 | 64 |
| 65 explicit LinkStyle(HTMLLinkElement* owner); | 65 explicit LinkStyle(HTMLLinkElement* owner); |
| 66 ~LinkStyle() override; | 66 ~LinkStyle() override; |
| 67 | 67 |
| 68 LinkResourceType type() const override { return Style; } | 68 LinkResourceType type() const override { return Style; } |
| 69 void process() override; | 69 void process() override; |
| 70 void ownerRemoved() override; | 70 void ownerRemoved() override; |
| 71 void mediaChanged() override; |
| 71 bool hasLoaded() const override { return m_loadedSheet; } | 72 bool hasLoaded() const override { return m_loadedSheet; } |
| 72 DECLARE_VIRTUAL_TRACE(); | 73 DECLARE_VIRTUAL_TRACE(); |
| 73 | 74 |
| 74 void startLoadingDynamicSheet(); | 75 void startLoadingDynamicSheet(); |
| 75 void notifyLoadedSheetAndAllCriticalSubresources(Node::LoadedSheetErrorStatu
s); | 76 void notifyLoadedSheetAndAllCriticalSubresources(Node::LoadedSheetErrorStatu
s); |
| 76 bool sheetLoaded(); | 77 bool sheetLoaded(); |
| 77 | 78 |
| 78 void setDisabledState(bool); | 79 void setDisabledState(bool); |
| 79 void setSheetTitle(const String&); | 80 void setSheetTitle(const String&); |
| 80 | 81 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 RawPtrWillBeMember<RelList> m_relList; | 229 RawPtrWillBeMember<RelList> m_relList; |
| 229 LinkRelAttribute m_relAttribute; | 230 LinkRelAttribute m_relAttribute; |
| 230 | 231 |
| 231 bool m_createdByParser; | 232 bool m_createdByParser; |
| 232 bool m_isInShadowTree; | 233 bool m_isInShadowTree; |
| 233 }; | 234 }; |
| 234 | 235 |
| 235 } // namespace blink | 236 } // namespace blink |
| 236 | 237 |
| 237 #endif // HTMLLinkElement_h | 238 #endif // HTMLLinkElement_h |
| OLD | NEW |