| OLD | NEW |
| 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.
All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
| 4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 16 matching lines...) Expand all Loading... |
| 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" | 31 #include "core/fetch/ResourceFetcher.h" |
| 32 #include "core/layout/svg/ReferenceFilterBuilder.h" | 32 #include "core/layout/svg/ReferenceFilterBuilder.h" |
| 33 #include "core/style/ComputedStyle.h" | 33 #include "core/style/ComputedStyle.h" |
| 34 #include "core/style/ContentData.h" | 34 #include "core/style/ContentData.h" |
| 35 #include "core/style/CursorData.h" | 35 #include "core/style/CursorData.h" |
| 36 #include "core/style/FillLayer.h" | 36 #include "core/style/FillLayer.h" |
| 37 #include "core/style/FilterOperation.h" |
| 37 #include "core/style/StyleFetchedImage.h" | 38 #include "core/style/StyleFetchedImage.h" |
| 38 #include "core/style/StyleFetchedImageSet.h" | 39 #include "core/style/StyleFetchedImageSet.h" |
| 39 #include "core/style/StyleGeneratedImage.h" | 40 #include "core/style/StyleGeneratedImage.h" |
| 40 #include "core/style/StyleImage.h" | 41 #include "core/style/StyleImage.h" |
| 41 #include "core/style/StyleInvalidImage.h" | 42 #include "core/style/StyleInvalidImage.h" |
| 42 #include "core/style/StylePendingImage.h" | 43 #include "core/style/StylePendingImage.h" |
| 43 #include "platform/graphics/filters/FilterOperation.h" | |
| 44 | 44 |
| 45 namespace blink { | 45 namespace blink { |
| 46 | 46 |
| 47 ElementStyleResources::ElementStyleResources(Document& document, float deviceSca
leFactor) | 47 ElementStyleResources::ElementStyleResources(Document& document, float deviceSca
leFactor) |
| 48 : m_document(&document) | 48 : m_document(&document) |
| 49 , m_deviceScaleFactor(deviceScaleFactor) | 49 , m_deviceScaleFactor(deviceScaleFactor) |
| 50 { | 50 { |
| 51 } | 51 } |
| 52 | 52 |
| 53 StyleImage* ElementStyleResources::styleImage(CSSPropertyID property, const CSSV
alue& value) | 53 StyleImage* ElementStyleResources::styleImage(CSSPropertyID property, const CSSV
alue& value) |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 } | 252 } |
| 253 } | 253 } |
| 254 | 254 |
| 255 void ElementStyleResources::loadPendingResources(ComputedStyle* computedStyle) | 255 void ElementStyleResources::loadPendingResources(ComputedStyle* computedStyle) |
| 256 { | 256 { |
| 257 loadPendingImages(computedStyle); | 257 loadPendingImages(computedStyle); |
| 258 loadPendingSVGDocuments(computedStyle); | 258 loadPendingSVGDocuments(computedStyle); |
| 259 } | 259 } |
| 260 | 260 |
| 261 } // namespace blink | 261 } // namespace blink |
| OLD | NEW |