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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGElementProxy.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try 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 #include "core/svg/SVGElementProxy.h" 5 #include "core/svg/SVGElementProxy.h"
6 6
7 #include "core/dom/IdTargetObserver.h" 7 #include "core/dom/IdTargetObserver.h"
8 #include "core/fetch/FetchInitiatorTypeNames.h"
9 #include "core/fetch/FetchRequest.h"
10 #include "core/fetch/ResourceFetcher.h"
11 #include "core/svg/SVGElement.h" 8 #include "core/svg/SVGElement.h"
12 #include "core/svg/SVGResourceClient.h" 9 #include "core/svg/SVGResourceClient.h"
10 #include "platform/loader/fetch/FetchInitiatorTypeNames.h"
11 #include "platform/loader/fetch/FetchRequest.h"
12 #include "platform/loader/fetch/ResourceFetcher.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class SVGElementProxy::IdObserver : public IdTargetObserver { 16 class SVGElementProxy::IdObserver : public IdTargetObserver {
17 public: 17 public:
18 IdObserver(TreeScope& treeScope, SVGElementProxy& proxy) 18 IdObserver(TreeScope& treeScope, SVGElementProxy& proxy)
19 : IdTargetObserver(treeScope.idTargetObserverRegistry(), proxy.id()), 19 : IdTargetObserver(treeScope.idTargetObserverRegistry(), proxy.id()),
20 m_treeScope(&treeScope) {} 20 m_treeScope(&treeScope) {}
21 21
22 void addClient(SVGResourceClient* client) { m_clients.add(client); } 22 void addClient(SVGResourceClient* client) { m_clients.add(client); }
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 void SVGElementProxySet::notifyContentChanged(TreeScope& treeScope) { 190 void SVGElementProxySet::notifyContentChanged(TreeScope& treeScope) {
191 for (SVGElementProxy* proxy : m_elementProxies) 191 for (SVGElementProxy* proxy : m_elementProxies)
192 proxy->contentChanged(treeScope); 192 proxy->contentChanged(treeScope);
193 } 193 }
194 194
195 DEFINE_TRACE(SVGElementProxySet) { 195 DEFINE_TRACE(SVGElementProxySet) {
196 visitor->trace(m_elementProxies); 196 visitor->trace(m_elementProxies);
197 } 197 }
198 198
199 } // namespace blink 199 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/FramePainter.cpp ('k') | third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698