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

Unified Diff: third_party/WebKit/Source/core/frame/FrameSerializer.h

Issue 2886943003: [Offline Pages] Adding missing image/CSS detection in FrameSerializer. (Closed)
Patch Set: comments from dcheng@. Created 3 years, 7 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
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 b53d02d984a0f7defee3763e8f5217ef5ff9e5fd..b20268b5a90cadb89eb56858720cb96376826221 100644
--- a/third_party/WebKit/Source/core/frame/FrameSerializer.h
+++ b/third_party/WebKit/Source/core/frame/FrameSerializer.h
@@ -51,6 +51,7 @@ class Element;
class FontResource;
class ImageResourceContent;
class LocalFrame;
+class Node;
class SharedBuffer;
class StylePropertySet;
@@ -107,6 +108,9 @@ class CORE_EXPORT FrameSerializer final {
virtual Vector<Attribute> GetCustomAttributes(const Element&) {
return Vector<Attribute>();
}
+
+ // Visits a node during serialization.
+ virtual void VisitNode(const Node*) {}
};
// Constructs a serializer that will write output to the given deque of

Powered by Google App Engine
This is Rietveld 408576698