Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: sky/shell/gpu_delegate.h

Issue 936883002: Connect Sky and Ganesh in SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address review comments Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/shell/gpu/rasterizer.cc ('k') | sky/shell/java_service_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « sky/shell/gpu/rasterizer.cc ('k') | sky/shell/java_service_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698