OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CC_RESOURCES_UI_RESOURCE_CLIENT_H_ | |
6 #define CC_RESOURCES_UI_RESOURCE_CLIENT_H_ | |
7 | |
8 #include "base/callback.h" | |
9 #include "base/memory/ref_counted.h" | |
10 | |
11 namespace cc { | |
12 | |
13 class UIResourceBitmap; | |
14 | |
15 typedef int UIResourceId; | |
16 | |
17 class UIResourceClient { | |
18 public: | |
19 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.
| |
20 virtual ~UIResourceClient() {} | |
21 }; | |
22 | |
23 } // namespace cc | |
24 | |
25 #endif // CC_RESOURCES_UI_RESOURCE_CLIENT_H_ | |
OLD | NEW |