Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: third_party/WebKit/Source/core/html/LinkStyle.h

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
11 #include "core/html/LinkResource.h" 10 #include "core/html/LinkResource.h"
12 #include "core/loader/resource/StyleSheetResource.h" 11 #include "core/loader/resource/StyleSheetResource.h"
13 #include "core/loader/resource/StyleSheetResourceClient.h" 12 #include "core/loader/resource/StyleSheetResourceClient.h"
13 #include "platform/loader/fetch/ResourceOwner.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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 StyleEngineContext m_styleEngineContext; 90 StyleEngineContext m_styleEngineContext;
91 bool m_loading; 91 bool m_loading;
92 bool m_firedLoad; 92 bool m_firedLoad;
93 bool m_loadedSheet; 93 bool m_loadedSheet;
94 bool m_fetchFollowingCORS; 94 bool m_fetchFollowingCORS;
95 }; 95 };
96 96
97 } // namespace blink 97 } // namespace blink
98 98
99 #endif 99 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698