Index: third_party/WebKit/public/platform/WebLayerTreeView.h |
diff --git a/third_party/WebKit/public/platform/WebLayerTreeView.h b/third_party/WebKit/public/platform/WebLayerTreeView.h |
index bc913cb6a50607658ae6ab00a15ac5642cd5b9e5..854fd0406ad0afadaf960a74a6fb8a9dc71e4c55 100644 |
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h |
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h |
@@ -35,6 +35,10 @@ |
#include "WebSize.h" |
#include "cc/surfaces/frame_sink_id.h" |
+#include "third_party/skia/include/core/SkRefCnt.h" |
+ |
+class SkImage; |
+ |
namespace cc { |
class AnimationHost; |
} |
@@ -187,6 +191,9 @@ class WebLayerTreeView { |
// Toggles scroll bottleneck rects on the HUD layer |
virtual void setShowScrollBottleneckRects(bool) {} |
+ |
+ virtual void requestDecode(sk_sp<SkImage> image, |
+ const base::Callback<void(bool)>& callback) {} |
}; |
} // namespace blink |