| 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. | 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 11 matching lines...) Expand all Loading... |
| 22 */ | 22 */ |
| 23 | 23 |
| 24 #ifndef ElementStyleResources_h | 24 #ifndef ElementStyleResources_h |
| 25 #define ElementStyleResources_h | 25 #define ElementStyleResources_h |
| 26 | 26 |
| 27 #include "core/CSSPropertyNames.h" | 27 #include "core/CSSPropertyNames.h" |
| 28 #include "core/css/CSSPropertyIDTemplates.h" | 28 #include "core/css/CSSPropertyIDTemplates.h" |
| 29 #include "platform/CrossOriginAttributeValue.h" | 29 #include "platform/CrossOriginAttributeValue.h" |
| 30 #include "platform/graphics/Color.h" | 30 #include "platform/graphics/Color.h" |
| 31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
| 32 #include "platform/loader/fetch/FetchParameters.h" |
| 32 #include "platform/wtf/HashMap.h" | 33 #include "platform/wtf/HashMap.h" |
| 33 #include "platform/wtf/Noncopyable.h" | 34 #include "platform/wtf/Noncopyable.h" |
| 34 | 35 |
| 35 namespace blink { | 36 namespace blink { |
| 36 | 37 |
| 37 class CSSImageGeneratorValue; | 38 class CSSImageGeneratorValue; |
| 38 class CSSImageSetValue; | 39 class CSSImageSetValue; |
| 39 class CSSImageValue; | 40 class CSSImageValue; |
| 40 class CSSURIValue; | 41 class CSSURIValue; |
| 41 class CSSValue; | 42 class CSSValue; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 64 private: | 65 private: |
| 65 StyleImage* GeneratedOrPendingFromValue(CSSPropertyID, | 66 StyleImage* GeneratedOrPendingFromValue(CSSPropertyID, |
| 66 const CSSImageGeneratorValue&); | 67 const CSSImageGeneratorValue&); |
| 67 | 68 |
| 68 void LoadPendingSVGDocuments(ComputedStyle*); | 69 void LoadPendingSVGDocuments(ComputedStyle*); |
| 69 void LoadPendingImages(ComputedStyle*); | 70 void LoadPendingImages(ComputedStyle*); |
| 70 | 71 |
| 71 StyleImage* LoadPendingImage( | 72 StyleImage* LoadPendingImage( |
| 72 ComputedStyle*, | 73 ComputedStyle*, |
| 73 StylePendingImage*, | 74 StylePendingImage*, |
| 75 FetchParameters::PlaceholderImageRequestType, |
| 74 CrossOriginAttributeValue = kCrossOriginAttributeNotSet); | 76 CrossOriginAttributeValue = kCrossOriginAttributeNotSet); |
| 75 | 77 |
| 76 Member<Document> document_; | 78 Member<Document> document_; |
| 77 HashSet<CSSPropertyID> pending_image_properties_; | 79 HashSet<CSSPropertyID> pending_image_properties_; |
| 78 float device_scale_factor_; | 80 float device_scale_factor_; |
| 79 }; | 81 }; |
| 80 | 82 |
| 81 } // namespace blink | 83 } // namespace blink |
| 82 | 84 |
| 83 #endif // ElementStyleResources_h | 85 #endif // ElementStyleResources_h |
| OLD | NEW |