OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_THUNK_PPB_IMAGE_DATA_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_IMAGE_DATA_API_H_ |
6 #define PPAPI_THUNK_PPB_IMAGE_DATA_API_H_ | 6 #define PPAPI_THUNK_PPB_IMAGE_DATA_API_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/pp_bool.h" | 10 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/ppb_image_data.h" | 11 #include "ppapi/c/ppb_image_data.h" |
10 | 12 |
11 class SkCanvas; | 13 class SkCanvas; |
12 | 14 |
13 namespace base { | 15 namespace base { |
14 class SharedMemory; | 16 class SharedMemory; |
15 } // namespace base | 17 } // namespace base |
16 | 18 |
17 namespace ppapi { | 19 namespace ppapi { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // release its reference to the ImageData. If the current implementation | 55 // release its reference to the ImageData. If the current implementation |
54 // supports image data reuse (only supported out-of-process) then the | 56 // supports image data reuse (only supported out-of-process) then the |
55 // ImageData will be marked and potentially cached for re-use. | 57 // ImageData will be marked and potentially cached for re-use. |
56 virtual void SetIsCandidateForReuse() = 0; | 58 virtual void SetIsCandidateForReuse() = 0; |
57 }; | 59 }; |
58 | 60 |
59 } // namespace thunk | 61 } // namespace thunk |
60 } // namespace ppapi | 62 } // namespace ppapi |
61 | 63 |
62 #endif // PPAPI_THUNK_PPB_IMAGE_DATA_API_H_ | 64 #endif // PPAPI_THUNK_PPB_IMAGE_DATA_API_H_ |
OLD | NEW |