| Index: third_party/WebKit/Source/core/frame/FrameSerializer.h
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameSerializer.h b/third_party/WebKit/Source/core/frame/FrameSerializer.h
|
| index 0439d2e9beae7765fcf3e63b4fb578315f11e32c..199b8c0297a4d2914e6b28ac5b89335b2d6edf2a 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameSerializer.h
|
| +++ b/third_party/WebKit/Source/core/frame/FrameSerializer.h
|
| @@ -89,6 +89,12 @@ class CORE_EXPORT FrameSerializer final {
|
|
|
| // Tells whether to skip serialization of a subresource.
|
| virtual bool shouldSkipResource(const Resource&) { return false; }
|
| +
|
| + // Returns custom attributes that need to add in order to serialize the
|
| + // element.
|
| + virtual Vector<Attribute> getCustomAttributes(const Element&) {
|
| + return Vector<Attribute>();
|
| + }
|
| };
|
|
|
| // Constructs a serializer that will write output to the given vector of
|
|
|