| 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 19e128c17a1b67630898daa304a1f389d136dd32..e282c8d490ea2c4614dfca5756d355ed026d5597 100644
|
| --- a/third_party/WebKit/public/platform/WebLayerTreeView.h
|
| +++ b/third_party/WebKit/public/platform/WebLayerTreeView.h
|
| @@ -36,6 +36,9 @@
|
| #include "base/callback.h"
|
| #include "cc/surfaces/frame_sink_id.h"
|
|
|
| +#include "third_party/skia/include/core/SkImage.h"
|
| +#include "third_party/skia/include/core/SkRefCnt.h"
|
| +
|
| namespace cc {
|
| class AnimationHost;
|
| }
|
| @@ -188,6 +191,9 @@ class WebLayerTreeView {
|
| // ReportTimeCallback is a callback that should be fired when the
|
| // corresponding Swap completes (either with DidSwap or DidNotSwap).
|
| virtual void NotifySwapTime(ReportTimeCallback callback) {}
|
| +
|
| + virtual void RequestDecode(sk_sp<SkImage> image,
|
| + const base::Callback<void(bool)>& callback) {}
|
| };
|
|
|
| } // namespace blink
|
|
|