| 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 10 matching lines...) Expand all Loading... |
| 21 * | 21 * |
| 22 */ | 22 */ |
| 23 | 23 |
| 24 #ifndef HTMLLinkElement_h | 24 #ifndef HTMLLinkElement_h |
| 25 #define HTMLLinkElement_h | 25 #define HTMLLinkElement_h |
| 26 | 26 |
| 27 #include "core/CoreExport.h" | 27 #include "core/CoreExport.h" |
| 28 #include "core/css/CSSStyleSheet.h" | 28 #include "core/css/CSSStyleSheet.h" |
| 29 #include "core/dom/DOMTokenList.h" | 29 #include "core/dom/DOMTokenList.h" |
| 30 #include "core/dom/IconURL.h" | 30 #include "core/dom/IconURL.h" |
| 31 #include "core/dom/StyleEngineContext.h" |
| 31 #include "core/fetch/ResourceOwner.h" | 32 #include "core/fetch/ResourceOwner.h" |
| 32 #include "core/fetch/StyleSheetResource.h" | 33 #include "core/fetch/StyleSheetResource.h" |
| 33 #include "core/fetch/StyleSheetResourceClient.h" | 34 #include "core/fetch/StyleSheetResourceClient.h" |
| 34 #include "core/html/HTMLElement.h" | 35 #include "core/html/HTMLElement.h" |
| 35 #include "core/html/LinkRelAttribute.h" | 36 #include "core/html/LinkRelAttribute.h" |
| 36 #include "core/html/LinkResource.h" | 37 #include "core/html/LinkResource.h" |
| 37 #include "core/html/RelList.h" | 38 #include "core/html/RelList.h" |
| 38 #include "core/loader/LinkLoader.h" | 39 #include "core/loader/LinkLoader.h" |
| 39 #include "core/loader/LinkLoaderClient.h" | 40 #include "core/loader/LinkLoaderClient.h" |
| 40 | 41 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 m_fetchFollowingCORS = true; | 115 m_fetchFollowingCORS = true; |
| 115 } | 116 } |
| 116 void clearFetchFollowingCORS() | 117 void clearFetchFollowingCORS() |
| 117 { | 118 { |
| 118 m_fetchFollowingCORS = false; | 119 m_fetchFollowingCORS = false; |
| 119 } | 120 } |
| 120 | 121 |
| 121 Member<CSSStyleSheet> m_sheet; | 122 Member<CSSStyleSheet> m_sheet; |
| 122 DisabledState m_disabledState; | 123 DisabledState m_disabledState; |
| 123 PendingSheetType m_pendingSheetType; | 124 PendingSheetType m_pendingSheetType; |
| 125 StyleEngineContext m_styleEngineContext; |
| 124 bool m_loading; | 126 bool m_loading; |
| 125 bool m_firedLoad; | 127 bool m_firedLoad; |
| 126 bool m_loadedSheet; | 128 bool m_loadedSheet; |
| 127 bool m_fetchFollowingCORS; | 129 bool m_fetchFollowingCORS; |
| 128 }; | 130 }; |
| 129 | 131 |
| 130 | 132 |
| 131 class CORE_EXPORT HTMLLinkElement final : public HTMLElement, public LinkLoaderC
lient, private DOMTokenListObserver { | 133 class CORE_EXPORT HTMLLinkElement final : public HTMLElement, public LinkLoaderC
lient, private DOMTokenListObserver { |
| 132 DEFINE_WRAPPERTYPEINFO(); | 134 DEFINE_WRAPPERTYPEINFO(); |
| 133 USING_GARBAGE_COLLECTED_MIXIN(HTMLLinkElement); | 135 USING_GARBAGE_COLLECTED_MIXIN(HTMLLinkElement); |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 LinkRelAttribute m_relAttribute; | 231 LinkRelAttribute m_relAttribute; |
| 230 String m_scope; | 232 String m_scope; |
| 231 | 233 |
| 232 bool m_createdByParser; | 234 bool m_createdByParser; |
| 233 bool m_isInShadowTree; | 235 bool m_isInShadowTree; |
| 234 }; | 236 }; |
| 235 | 237 |
| 236 } // namespace blink | 238 } // namespace blink |
| 237 | 239 |
| 238 #endif // HTMLLinkElement_h | 240 #endif // HTMLLinkElement_h |
| OLD | NEW |