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

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

Issue 2380683006: SPv2: Add support for tracking raster paint invalidations in testing. (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/core/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index 13328cf5ca368b3e3833d9fbd458096c5cfe1375..ea44632b78c4401df94fa28af0d1d58bc4f0f68d 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -40,6 +40,7 @@
#include "platform/geometry/IntRect.h"
#include "platform/geometry/LayoutRect.h"
#include "platform/graphics/Color.h"
+#include "platform/graphics/GraphicsLayerClient.h"
#include "platform/scroll/ScrollTypes.h"
#include "platform/scroll/Scrollbar.h"
#include "public/platform/WebDisplayMode.h"
@@ -63,6 +64,7 @@ class Element;
class FloatSize;
class HTMLFrameOwnerElement;
class JSONArray;
+class JSONObject;
class LayoutViewItem;
class LayoutPart;
class LocalFrame;
@@ -719,6 +721,9 @@ class CORE_EXPORT FrameView final
// For PaintInvalidator temporarily. TODO(wangxianzhu): Move into PaintInvalidator.
void invalidatePaintIfNeeded(const PaintInvalidationState&);
+ // Only for SPv2.
+ std::unique_ptr<JSONObject> compositedLayersAsJSON(LayerTreeFlags);
+
protected:
// Scroll the content via the compositor.
bool scrollContentsFastPath(const IntSize& scrollDelta);

Powered by Google App Engine
This is Rietveld 408576698