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

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/ElementStyleResources.cpp

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 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
4 * All rights reserved. 4 * All rights reserved.
5 * Copyright (C) 2013 Google Inc. All rights reserved. 5 * Copyright (C) 2013 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 10 matching lines...) Expand all
21 * 21 *
22 */ 22 */
23 23
24 #include "core/css/resolver/ElementStyleResources.h" 24 #include "core/css/resolver/ElementStyleResources.h"
25 25
26 #include "core/CSSPropertyNames.h" 26 #include "core/CSSPropertyNames.h"
27 #include "core/css/CSSGradientValue.h" 27 #include "core/css/CSSGradientValue.h"
28 #include "core/css/CSSImageValue.h" 28 #include "core/css/CSSImageValue.h"
29 #include "core/css/CSSURIValue.h" 29 #include "core/css/CSSURIValue.h"
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 #include "core/fetch/ResourceFetcher.h"
32 #include "core/style/ComputedStyle.h" 31 #include "core/style/ComputedStyle.h"
33 #include "core/style/ContentData.h" 32 #include "core/style/ContentData.h"
34 #include "core/style/CursorData.h" 33 #include "core/style/CursorData.h"
35 #include "core/style/FillLayer.h" 34 #include "core/style/FillLayer.h"
36 #include "core/style/FilterOperation.h" 35 #include "core/style/FilterOperation.h"
37 #include "core/style/StyleFetchedImage.h" 36 #include "core/style/StyleFetchedImage.h"
38 #include "core/style/StyleFetchedImageSet.h" 37 #include "core/style/StyleFetchedImageSet.h"
39 #include "core/style/StyleGeneratedImage.h" 38 #include "core/style/StyleGeneratedImage.h"
40 #include "core/style/StyleImage.h" 39 #include "core/style/StyleImage.h"
41 #include "core/style/StyleInvalidImage.h" 40 #include "core/style/StyleInvalidImage.h"
42 #include "core/style/StylePendingImage.h" 41 #include "core/style/StylePendingImage.h"
43 #include "core/svg/SVGElementProxy.h" 42 #include "core/svg/SVGElementProxy.h"
43 #include "platform/loader/fetch/ResourceFetcher.h"
44 44
45 namespace blink { 45 namespace blink {
46 46
47 ElementStyleResources::ElementStyleResources(Document& document, 47 ElementStyleResources::ElementStyleResources(Document& document,
48 float deviceScaleFactor) 48 float deviceScaleFactor)
49 : m_document(&document), m_deviceScaleFactor(deviceScaleFactor) {} 49 : m_document(&document), m_deviceScaleFactor(deviceScaleFactor) {}
50 50
51 StyleImage* ElementStyleResources::styleImage(CSSPropertyID property, 51 StyleImage* ElementStyleResources::styleImage(CSSPropertyID property,
52 const CSSValue& value) { 52 const CSSValue& value) {
53 if (value.isImageValue()) 53 if (value.isImageValue())
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 } 255 }
256 } 256 }
257 } 257 }
258 258
259 void ElementStyleResources::loadPendingResources(ComputedStyle* computedStyle) { 259 void ElementStyleResources::loadPendingResources(ComputedStyle* computedStyle) {
260 loadPendingImages(computedStyle); 260 loadPendingImages(computedStyle);
261 loadPendingSVGDocuments(computedStyle); 261 loadPendingSVGDocuments(computedStyle);
262 } 262 }
263 263
264 } // namespace blink 264 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698