| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 PP_Bool init_to_zero, | 117 PP_Bool init_to_zero, |
| 118 HostResource* result, | 118 HostResource* result, |
| 119 std::string* image_data_desc, | 119 std::string* image_data_desc, |
| 120 ImageHandle* result_image_handle); | 120 ImageHandle* result_image_handle); |
| 121 void OnHostMsgCreateNaCl(PP_Instance instance, | 121 void OnHostMsgCreateNaCl(PP_Instance instance, |
| 122 int32_t format, | 122 int32_t format, |
| 123 const PP_Size& size, | 123 const PP_Size& size, |
| 124 PP_Bool init_to_zero, | 124 PP_Bool init_to_zero, |
| 125 HostResource* result, | 125 HostResource* result, |
| 126 std::string* image_data_desc, | 126 std::string* image_data_desc, |
| 127 base::SharedMemoryHandle* result_image_handle); | 127 ppapi::proxy::SerializedHandle* result_image_handle); |
| 128 | 128 |
| 129 // Host->Plugin message handlers. | 129 // Host->Plugin message handlers. |
| 130 void OnPluginMsgNotifyUnusedImageData(const HostResource& old_image_data); | 130 void OnPluginMsgNotifyUnusedImageData(const HostResource& old_image_data); |
| 131 | 131 |
| 132 DISALLOW_COPY_AND_ASSIGN(PPB_ImageData_Proxy); | 132 DISALLOW_COPY_AND_ASSIGN(PPB_ImageData_Proxy); |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace proxy | 135 } // namespace proxy |
| 136 } // namespace ppapi | 136 } // namespace ppapi |
| 137 | 137 |
| 138 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_ | 138 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_ |
| OLD | NEW |