| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 STACK_ALLOCATED(); | 48 STACK_ALLOCATED(); |
| 49 WTF_MAKE_NONCOPYABLE(ElementStyleResources); | 49 WTF_MAKE_NONCOPYABLE(ElementStyleResources); |
| 50 public: | 50 public: |
| 51 ElementStyleResources(); | 51 ElementStyleResources(); |
| 52 | 52 |
| 53 PassRefPtr<StyleImage> styleImage(Document&, const TextLinkColors&, Color cu
rrentColor, CSSPropertyID, CSSValue*); | 53 PassRefPtr<StyleImage> styleImage(Document&, const TextLinkColors&, Color cu
rrentColor, CSSPropertyID, CSSValue*); |
| 54 | 54 |
| 55 PassRefPtr<StyleImage> generatedOrPendingFromValue(CSSPropertyID, CSSImageGe
neratorValue*); | 55 PassRefPtr<StyleImage> generatedOrPendingFromValue(CSSPropertyID, CSSImageGe
neratorValue*); |
| 56 PassRefPtr<StyleImage> cachedOrPendingFromValue(Document&, CSSPropertyID, CS
SImageValue*); | 56 PassRefPtr<StyleImage> cachedOrPendingFromValue(Document&, CSSPropertyID, CS
SImageValue*); |
| 57 PassRefPtr<StyleImage> setOrPendingFromValue(CSSPropertyID, CSSImageSetValue
*); | 57 PassRefPtr<StyleImage> setOrPendingFromValue(CSSPropertyID, CSSImageSetValue
*); |
| 58 PassRefPtr<StyleImage> cursorOrPendingFromValue(CSSPropertyID, CSSCursorImag
eValue*); | |
| 59 | 58 |
| 60 const PendingImagePropertyMap& pendingImageProperties() const { return m_pen
dingImageProperties; } | 59 const PendingImagePropertyMap& pendingImageProperties() const { return m_pen
dingImageProperties; } |
| 61 | 60 |
| 62 void clearPendingImageProperties(); | 61 void clearPendingImageProperties(); |
| 63 | 62 |
| 64 float deviceScaleFactor() const { return m_deviceScaleFactor; } | 63 float deviceScaleFactor() const { return m_deviceScaleFactor; } |
| 65 void setDeviceScaleFactor(float deviceScaleFactor) { m_deviceScaleFactor = d
eviceScaleFactor; } | 64 void setDeviceScaleFactor(float deviceScaleFactor) { m_deviceScaleFactor = d
eviceScaleFactor; } |
| 66 | 65 |
| 67 private: | 66 private: |
| 68 PendingImagePropertyMap m_pendingImageProperties; | 67 PendingImagePropertyMap m_pendingImageProperties; |
| 69 float m_deviceScaleFactor; | 68 float m_deviceScaleFactor; |
| 70 }; | 69 }; |
| 71 | 70 |
| 72 } // namespace blink | 71 } // namespace blink |
| 73 | 72 |
| 74 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_ELEMENTSTYLERESOURCES_H_ | 73 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_ELEMENTSTYLERESOURCES_H_ |
| OLD | NEW |