Index: cc/resources/ui_resource_client.h |
=================================================================== |
--- cc/resources/ui_resource_client.h (revision 0) |
+++ cc/resources/ui_resource_client.h (revision 0) |
@@ -0,0 +1,25 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CC_RESOURCES_UI_RESOURCE_CLIENT_H_ |
+#define CC_RESOURCES_UI_RESOURCE_CLIENT_H_ |
+ |
+#include "base/callback.h" |
+#include "base/memory/ref_counted.h" |
+ |
+namespace cc { |
+ |
+class UIResourceBitmap; |
+ |
+typedef int UIResourceId; |
+ |
+class UIResourceClient { |
+ public: |
+ virtual scoped_refptr<UIResourceBitmap> Create(bool resource_lost) = 0; |
aelias_OOO_until_Jul13
2013/07/26 23:35:32
Could you pass in the UIResourceID as argument her
powei
2013/07/30 21:47:00
Done.
|
+ virtual ~UIResourceClient() {} |
+}; |
+ |
+} // namespace cc |
+ |
+#endif // CC_RESOURCES_UI_RESOURCE_CLIENT_H_ |