aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/svg/model/SkSVGAttribute.h
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2016-07-29 08:52:03 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-29 08:52:03 -0700
commit58649ccc75c033ea4e0c9a664b4ed178816a50c6 (patch)
tree91117fb8be83c0ee4d07d79e5a150fa11b45e333 /experimental/svg/model/SkSVGAttribute.h
parent5abbb44f682038abe01b8ee63fb22439af861dda (diff)
[SVGDom] Parse style attributes
Dispatch style-encoded (style="foo: bar; ...") attributes via normal attribute setters. R=reed@google.com,robertphillips@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2193663002 Review-Url: https://codereview.chromium.org/2193663002
Diffstat (limited to 'experimental/svg/model/SkSVGAttribute.h')
-rw-r--r--experimental/svg/model/SkSVGAttribute.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/experimental/svg/model/SkSVGAttribute.h b/experimental/svg/model/SkSVGAttribute.h
index 50989f17ec..83a35527c5 100644
--- a/experimental/svg/model/SkSVGAttribute.h
+++ b/experimental/svg/model/SkSVGAttribute.h
@@ -12,10 +12,12 @@
#include "SkTLazy.h"
enum class SkSVGAttribute {
- d,
- fill,
- stroke,
- transform,
+ kD,
+ kFill,
+ kStroke,
+ kTransform,
+
+ kUnknown,
};
class SkSVGRenderContext;