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

Unified Diff: Source/core/css/CSSKeyframesRule.h

Issue 23264017: Implement support for unprefixed keyframes rules resolution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSGrammar.y.in ('k') | Source/core/css/CSSKeyframesRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSKeyframesRule.h
diff --git a/Source/core/css/CSSKeyframesRule.h b/Source/core/css/CSSKeyframesRule.h
index be2ba3cef384b12bdb45b8e4b8f056ba7b7cbd97..47978f42f076d7460372aa060002dab4a0ef0657 100644
--- a/Source/core/css/CSSKeyframesRule.h
+++ b/Source/core/css/CSSKeyframesRule.h
@@ -52,6 +52,9 @@ public:
String name() const { return m_name; }
void setName(const String& name) { m_name = AtomicString(name); }
+ bool isVendorPrefixed() const { return m_isPrefixed; }
+ void setVendorPrefixed(bool isPrefixed) { m_isPrefixed = isPrefixed; }
+
int findKeyframeIndex(const String& key) const;
PassRefPtr<StyleRuleKeyframes> copy() const { return adoptRef(new StyleRuleKeyframes(*this)); }
@@ -62,6 +65,7 @@ private:
Vector<RefPtr<StyleKeyframe> > m_keyframes;
AtomicString m_name;
+ bool m_isPrefixed;
};
class CSSKeyframesRule : public CSSRule {
@@ -87,12 +91,16 @@ public:
unsigned length() const;
CSSKeyframeRule* item(unsigned index) const;
+ bool isVendorPrefixed() const { return m_isPrefixed; }
+ void setVendorPrefixed(bool isPrefixed) { m_isPrefixed = isPrefixed; }
+
private:
CSSKeyframesRule(StyleRuleKeyframes*, CSSStyleSheet* parent);
RefPtr<StyleRuleKeyframes> m_keyframesRule;
mutable Vector<RefPtr<CSSKeyframeRule> > m_childRuleCSSOMWrappers;
mutable OwnPtr<CSSRuleList> m_ruleListCSSOMWrapper;
+ bool m_isPrefixed;
};
} // namespace WebCore
« no previous file with comments | « Source/core/css/CSSGrammar.y.in ('k') | Source/core/css/CSSKeyframesRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698