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); |