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

Unified Diff: include/xml/SkDOM.h

Issue 940283002: [SVGDevice] Text whitespace unittest (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: more win warnings Created 5 years, 10 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 | « gyp/tests.gypi ('k') | src/svg/SkSVGDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/xml/SkDOM.h
diff --git a/include/xml/SkDOM.h b/include/xml/SkDOM.h
index e0bb744d6d1368b64cc5cce3583958874e29780a..df5766faec6f7f8c287133a71a3999b8cacf0da3 100644
--- a/include/xml/SkDOM.h
+++ b/include/xml/SkDOM.h
@@ -17,6 +17,9 @@
struct SkDOMNode;
struct SkDOMAttr;
+class SkDOMParser;
+class SkXMLParser;
+
class SkDOM {
public:
SkDOM();
@@ -32,6 +35,9 @@ public:
const Node* getRootNode() const;
+ SkXMLParser* beginParsing();
+ const Node* finishParsing();
+
enum Type {
kElement_Type,
kText_Type
@@ -82,8 +88,10 @@ public:
SkDEBUGCODE(static void UnitTest();)
private:
- SkChunkAlloc fAlloc;
- Node* fRoot;
+ SkChunkAlloc fAlloc;
+ Node* fRoot;
+ SkAutoTDelete<SkDOMParser> fParser;
+
friend class AttrIter;
friend class SkDOMParser;
};
« no previous file with comments | « gyp/tests.gypi ('k') | src/svg/SkSVGDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698