Index: sky/shell/gpu_delegate.h |
diff --git a/sky/shell/gpu_delegate.h b/sky/shell/gpu_delegate.h |
index 34ab4cdf284cba2d24a871c9188ebea5f51b1593..00040c5223208987773f8b8cf62ca273dabe6f57 100644 |
--- a/sky/shell/gpu_delegate.h |
+++ b/sky/shell/gpu_delegate.h |
@@ -5,8 +5,11 @@ |
#ifndef SKY_SHELL_GPU_DELEGATE_H_ |
#define SKY_SHELL_GPU_DELEGATE_H_ |
+#include "skia/ext/refptr.h" |
#include "ui/gfx/native_widget_types.h" |
+class SkPicture; |
+ |
namespace sky { |
namespace shell { |
@@ -14,6 +17,7 @@ class GPUDelegate { |
public: |
virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) = 0; |
virtual void OnOutputSurfaceDestroyed() = 0; |
+ virtual void Draw(skia::RefPtr<SkPicture> picture) = 0; |
protected: |
virtual ~GPUDelegate(); |