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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

Issue 2383323002: [SPv2] Introduce an option to output the GraphicsLayer tree as a flat layer list. (Closed)
Patch Set: none Created 4 years, 2 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/platform/graphics/GraphicsLayer.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
index f9ad7baa748fbcd6d973d71e78714c3509d2f1e6..f7a4c9deb74d15da729e5780ed3e08acdd3eab51 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
@@ -315,6 +315,12 @@ class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient,
std::unique_ptr<JSONObject> layerTreeAsJSONInternal(
LayerTreeFlags,
RenderingContextMap&) const;
+ // Outputs the layer tree rooted at |this| as a JSON array, in paint order.
+ void layersAsJSONArray(LayerTreeFlags,
+ RenderingContextMap&,
+ JSONArray*) const;
+ std::unique_ptr<JSONObject> layerAsJSONInternal(LayerTreeFlags,
+ RenderingContextMap&) const;
sk_sp<SkPicture> capturePicture();
void checkPaintUnderInvalidations(const SkPicture&);
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.idl ('k') | third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698