| Index: third_party/WebKit/Source/core/editing/serializers/MarkupAccumulator.h
|
| diff --git a/third_party/WebKit/Source/core/editing/serializers/MarkupAccumulator.h b/third_party/WebKit/Source/core/editing/serializers/MarkupAccumulator.h
|
| index d18c4008649a2d5d4b24f5f10d77c2ecab3983a8..d04b5062af80258097a32f816094b26b691724b8 100644
|
| --- a/third_party/WebKit/Source/core/editing/serializers/MarkupAccumulator.h
|
| +++ b/third_party/WebKit/Source/core/editing/serializers/MarkupAccumulator.h
|
| @@ -75,6 +75,15 @@ class MarkupAccumulator {
|
|
|
| EntityMask EntityMaskForText(const Text&) const;
|
|
|
| + // Returns an auxiliary DOM tree, i.e. shadow tree, that needs also to be
|
| + // serialized. The root of auxiliary DOM tree is returned as an 1st element
|
| + // in the pair. It can be null if no auxiliary DOM tree exists. An additional
|
| + // element used to enclose the serialized content of auxiliary DOM tree
|
| + // can be returned as 2nd element in the pair. It can be null if this is not
|
| + // needed. For shadow tree, a <template> element is needed to wrap the shadow
|
| + // tree content.
|
| + virtual std::pair<Node*, Element*> GetAuxiliaryDOMTree(const Element&) const;
|
| +
|
| private:
|
| MarkupFormatter formatter_;
|
| StringBuilder markup_;
|
|
|