Index: cc/trees/proxy.h |
=================================================================== |
--- cc/trees/proxy.h (revision 210393) |
+++ cc/trees/proxy.h (working copy) |
@@ -26,6 +26,8 @@ |
namespace cc { |
+typedef int UIResourceId; |
+class UIResourceBitmap; |
class OutputSurface; |
struct RendererCapabilities; |
@@ -100,6 +102,19 @@ |
virtual bool CommitPendingForTesting() = 0; |
virtual std::string SchedulerStateAsStringForTesting(); |
+ virtual void CreateUIResource(UIResourceId uid, |
+ scoped_refptr<UIResourceBitmap> bitmap, |
+ bool async) = 0; |
+ |
+ virtual void |
+ CreateUIResourceOnImplThread(UIResourceId uid, |
+ scoped_refptr<UIResourceBitmap> bitmap, |
+ bool async) = 0; |
+ |
+ virtual void DeleteUIResource(UIResourceId uid) = 0; |
+ |
+ virtual void DeleteUIResourceOnImplThread(UIResourceId uid) = 0; |
+ |
protected: |
explicit Proxy( |
scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner); |