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

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

Issue 2504883003: Loading: move *StyleSheetResource to core/loader/resource (Closed)
Patch Set: [rebase] Created 4 years 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" 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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h ('k') | third_party/WebKit/Source/core/html/LinkStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698