| 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 856863fd3bbd6ee9b5008477fedd30417b4889ac..61540f9bee682ec128110352c57a05686863709f 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameSerializer.h
|
| +++ b/third_party/WebKit/Source/core/frame/FrameSerializer.h
|
| @@ -67,6 +67,9 @@ class CORE_EXPORT FrameSerializer final {
|
| public:
|
| class Delegate {
|
| public:
|
| + // Controls whether HTML serialization should skip the given element.
|
| + virtual bool shouldIgnoreElement(const Element&) { return false; }
|
| +
|
| // Controls whether HTML serialization should skip the given attribute.
|
| virtual bool shouldIgnoreAttribute(const Element&, const Attribute&) {
|
| return false;
|
|
|