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 b61733c254e155d2d6c6f6de6a7ddd61a6ff154d..f9cb52b9354a2c71e9bab694492aafabd1011776 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; |
@@ -625,6 +627,9 @@ public: |
// 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); |