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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGResourceClient.h

Issue 2497463004: Loading: move core/fetch/*Resource* to core/loader/resource/ (Closed)
Patch Set: [rebase] Created 4 years, 1 month 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 SVGResourceClient_h 5 #ifndef SVGResourceClient_h
6 #define SVGResourceClient_h 6 #define SVGResourceClient_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/fetch/DocumentResource.h" 9 #include "core/loader/resource/DocumentResource.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class TreeScope; 14 class TreeScope;
15 15
16 class CORE_EXPORT SVGResourceClient : public DocumentResourceClient { 16 class CORE_EXPORT SVGResourceClient : public DocumentResourceClient {
17 public: 17 public:
18 virtual ~SVGResourceClient() {} 18 virtual ~SVGResourceClient() {}
19 19
20 virtual TreeScope* treeScope() = 0; 20 virtual TreeScope* treeScope() = 0;
21 21
22 virtual void resourceContentChanged() = 0; 22 virtual void resourceContentChanged() = 0;
23 virtual void resourceElementChanged() = 0; 23 virtual void resourceElementChanged() = 0;
24 24
25 protected: 25 protected:
26 SVGResourceClient() {} 26 SVGResourceClient() {}
27 27
28 String debugName() const override { return "SVGResourceClient"; } 28 String debugName() const override { return "SVGResourceClient"; }
29 void notifyFinished(Resource*) override { resourceElementChanged(); } 29 void notifyFinished(Resource*) override { resourceElementChanged(); }
30 }; 30 };
31 31
32 } // namespace blink 32 } // namespace blink
33 33
34 #endif // SVGResourceClient_h 34 #endif // SVGResourceClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElementProxy.h ('k') | third_party/WebKit/Source/core/svg/SVGUseElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698