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 42d2681c4c9264275881200d5566029f36e39809..6758ab3ac47173922604e7f22de129d71932c7f2 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameSerializer.h |
+++ b/third_party/WebKit/Source/core/frame/FrameSerializer.h |
@@ -69,6 +69,9 @@ class CORE_EXPORT FrameSerializer final { |
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; |