OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef LinkStyle_h | 5 #ifndef LinkStyle_h |
6 #define LinkStyle_h | 6 #define LinkStyle_h |
7 | 7 |
8 #include "core/dom/Node.h" | 8 #include "core/dom/Node.h" |
9 #include "core/dom/StyleEngine.h" | 9 #include "core/dom/StyleEngine.h" |
10 #include "core/fetch/ResourceOwner.h" | 10 #include "core/fetch/ResourceOwner.h" |
11 #include "core/fetch/StyleSheetResource.h" | |
12 #include "core/fetch/StyleSheetResourceClient.h" | |
13 #include "core/html/LinkResource.h" | 11 #include "core/html/LinkResource.h" |
| 12 #include "core/loader/resource/StyleSheetResource.h" |
| 13 #include "core/loader/resource/StyleSheetResourceClient.h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 class HTMLLinkElement; | 17 class HTMLLinkElement; |
18 // | 18 // |
19 // LinkStyle handles dynamically change-able link resources, which is | 19 // LinkStyle handles dynamically change-able link resources, which is |
20 // typically @rel="stylesheet". | 20 // typically @rel="stylesheet". |
21 // | 21 // |
22 // It could be @rel="shortcut icon" or something else though. Each of | 22 // It could be @rel="shortcut icon" or something else though. Each of |
23 // types might better be handled by a separate class, but dynamically | 23 // types might better be handled by a separate class, but dynamically |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 StyleEngineContext m_styleEngineContext; | 92 StyleEngineContext m_styleEngineContext; |
93 bool m_loading; | 93 bool m_loading; |
94 bool m_firedLoad; | 94 bool m_firedLoad; |
95 bool m_loadedSheet; | 95 bool m_loadedSheet; |
96 bool m_fetchFollowingCORS; | 96 bool m_fetchFollowingCORS; |
97 }; | 97 }; |
98 | 98 |
99 } // namespace blink | 99 } // namespace blink |
100 | 100 |
101 #endif | 101 #endif |
OLD | NEW |