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

Unified Diff: Source/core/dom/Element.h

Issue 84713002: Add number() static methods to AtomicString class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Take feedback into consideration (getting AppEngine errors...) Created 7 years, 1 month 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
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 20699128cd1e15f865d21f6cfe46d9ab085d989d..edc584e7424e5e13368e20a5ecd60f3fe08aff0c 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -114,6 +114,9 @@ public:
void setIntegralAttribute(const QualifiedName& attributeName, int value);
unsigned getUnsignedIntegralAttribute(const QualifiedName& attributeName) const;
void setUnsignedIntegralAttribute(const QualifiedName& attributeName, unsigned value);
+ double getFloatingPointAttribute(const QualifiedName& attributeName, double fallbackValue) const;
+ double getFloatingPointAttribute(const QualifiedName& attributeName) const;
+ void setFloatingPointAttribute(const QualifiedName& attributeName, double value);
// Call this to get the value of an attribute that is known not to be the style
// attribute or one of the SVG animatable attributes.

Powered by Google App Engine
This is Rietveld 408576698