OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PPB_IMAGE_DATA_PROXY_H_ | 5 #ifndef PPAPI_PPB_IMAGE_DATA_PROXY_H_ |
6 #define PPAPI_PPB_IMAGE_DATA_PROXY_H_ | 6 #define PPAPI_PPB_IMAGE_DATA_PROXY_H_ |
7 | 7 |
8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_completion_callback.h" | 9 #include "ppapi/c/pp_completion_callback.h" |
10 #include "ppapi/c/pp_module.h" | 10 #include "ppapi/c/pp_module.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 private: | 35 private: |
36 // Message handlers. | 36 // Message handlers. |
37 void OnMsgGetNativeImageDataFormat(int32* result); | 37 void OnMsgGetNativeImageDataFormat(int32* result); |
38 void OnMsgIsImageDataFormatSupported(int32 format, PP_Bool* result); | 38 void OnMsgIsImageDataFormatSupported(int32 format, PP_Bool* result); |
39 void OnMsgCreate(PP_Module module, | 39 void OnMsgCreate(PP_Module module, |
40 int32_t format, | 40 int32_t format, |
41 const PP_Size& size, | 41 const PP_Size& size, |
42 PP_Bool init_to_zero, | 42 PP_Bool init_to_zero, |
43 PP_Resource* result, | 43 PP_Resource* result, |
44 std::string* image_data_desc, | 44 std::string* image_data_desc, |
45 uint64_t* result_shm_handle); | 45 int* result_shm_handle); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace proxy | 48 } // namespace proxy |
49 } // namespace pp | 49 } // namespace pp |
50 | 50 |
51 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_ | 51 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_ |
OLD | NEW |