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

Side by Side Diff: Source/core/css/resolver/ElementStyleResources.h

Issue 196573030: Web Animations API: Load resources referenced in element.animate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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. 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 PassRefPtr<StyleImage> styleImage(const TextLinkColors&, Color currentColor, CSSPropertyID, CSSValue*); 54 PassRefPtr<StyleImage> styleImage(const TextLinkColors&, Color currentColor, CSSPropertyID, CSSValue*);
55 55
56 PassRefPtr<StyleImage> generatedOrPendingFromValue(CSSPropertyID, CSSImageGe neratorValue*); 56 PassRefPtr<StyleImage> generatedOrPendingFromValue(CSSPropertyID, CSSImageGe neratorValue*);
57 PassRefPtr<StyleImage> cachedOrPendingFromValue(CSSPropertyID, CSSImageValue *); 57 PassRefPtr<StyleImage> cachedOrPendingFromValue(CSSPropertyID, CSSImageValue *);
58 PassRefPtr<StyleImage> setOrPendingFromValue(CSSPropertyID, CSSImageSetValue *); 58 PassRefPtr<StyleImage> setOrPendingFromValue(CSSPropertyID, CSSImageSetValue *);
59 PassRefPtr<StyleImage> cursorOrPendingFromValue(CSSPropertyID, CSSCursorImag eValue*); 59 PassRefPtr<StyleImage> cursorOrPendingFromValue(CSSPropertyID, CSSCursorImag eValue*);
60 60
61 const PendingImagePropertyMap& pendingImageProperties() const { return m_pen dingImageProperties; } 61 const PendingImagePropertyMap& pendingImageProperties() const { return m_pen dingImageProperties; }
62 const PendingSVGDocumentMap& pendingSVGDocuments() const { return m_pendingS VGDocuments; } 62 const PendingSVGDocumentMap& pendingSVGDocuments() const { return m_pendingS VGDocuments; }
63 63
64 void clearPendingImageProperties();
65 void clearPendingSVGDocuments();
66
64 float deviceScaleFactor() const { return m_deviceScaleFactor; } 67 float deviceScaleFactor() const { return m_deviceScaleFactor; }
65 void setDeviceScaleFactor(float deviceScaleFactor) { m_deviceScaleFactor = d eviceScaleFactor; } 68 void setDeviceScaleFactor(float deviceScaleFactor) { m_deviceScaleFactor = d eviceScaleFactor; }
66 69
67 void addPendingSVGDocument(FilterOperation*, CSSSVGDocumentValue*); 70 void addPendingSVGDocument(FilterOperation*, CSSSVGDocumentValue*);
68 71
69 private: 72 private:
70 PendingImagePropertyMap m_pendingImageProperties; 73 PendingImagePropertyMap m_pendingImageProperties;
71 PendingSVGDocumentMap m_pendingSVGDocuments; 74 PendingSVGDocumentMap m_pendingSVGDocuments;
72 float m_deviceScaleFactor; 75 float m_deviceScaleFactor;
73 }; 76 };
74 77
75 } // namespace WebCore 78 } // namespace WebCore
76 79
77 #endif // ElementStyleResources_h 80 #endif // ElementStyleResources_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698