| 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_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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 PP_Bool init_to_zero, | 106 PP_Bool init_to_zero, |
| 107 HostResource* result, | 107 HostResource* result, |
| 108 std::string* image_data_desc, | 108 std::string* image_data_desc, |
| 109 ImageHandle* result_image_handle); | 109 ImageHandle* result_image_handle); |
| 110 void OnHostMsgCreateNaCl(PP_Instance instance, | 110 void OnHostMsgCreateNaCl(PP_Instance instance, |
| 111 int32_t format, | 111 int32_t format, |
| 112 const PP_Size& size, | 112 const PP_Size& size, |
| 113 PP_Bool init_to_zero, | 113 PP_Bool init_to_zero, |
| 114 HostResource* result, | 114 HostResource* result, |
| 115 std::string* image_data_desc, | 115 std::string* image_data_desc, |
| 116 base::SharedMemoryHandle* result_image_handle); | 116 ppapi::proxy::SerializedHandle* result_image_handle); |
| 117 | 117 |
| 118 DISALLOW_COPY_AND_ASSIGN(PPB_ImageData_Proxy); | 118 DISALLOW_COPY_AND_ASSIGN(PPB_ImageData_Proxy); |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 } // namespace proxy | 121 } // namespace proxy |
| 122 } // namespace ppapi | 122 } // namespace ppapi |
| 123 | 123 |
| 124 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_ | 124 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_ |
| OLD | NEW |