| 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_PROXY_PPB_TESTING_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_TESTING_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_TESTING_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_TESTING_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/c/pp_resource.h" | 10 #include "ppapi/c/pp_resource.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 // Message handlers. | 34 // Message handlers. |
| 35 void OnMsgReadImageData(const ppapi::HostResource& device_context_2d, | 35 void OnMsgReadImageData(const ppapi::HostResource& device_context_2d, |
| 36 const ppapi::HostResource& image, | 36 const ppapi::HostResource& image, |
| 37 const PP_Point& top_left, | 37 const PP_Point& top_left, |
| 38 PP_Bool* result); | 38 PP_Bool* result); |
| 39 void OnMsgRunMessageLoop(PP_Instance instance); | 39 void OnMsgRunMessageLoop(PP_Instance instance); |
| 40 void OnMsgQuitMessageLoop(PP_Instance instance); | 40 void OnMsgQuitMessageLoop(PP_Instance instance); |
| 41 void OnMsgGetLiveObjectsForInstance(PP_Instance instance, uint32_t* result); | 41 void OnMsgGetLiveObjectsForInstance(PP_Instance instance, uint32_t* result); |
| 42 void OnMsgSimulateInputEvent(PP_Instance instance, | 42 void OnMsgSimulateInputEvent(PP_Instance instance, |
| 43 const ppapi::InputEventData& input_event); | 43 const ppapi::InputEventData& input_event); |
| 44 void OnMsgSetMinimumArrayBufferSizeForShmem(uint32_t threshold); |
| 44 | 45 |
| 45 // When this proxy is in the host side, this value caches the interface | 46 // When this proxy is in the host side, this value caches the interface |
| 46 // pointer so we don't have to retrieve it from the dispatcher each time. | 47 // pointer so we don't have to retrieve it from the dispatcher each time. |
| 47 // In the plugin, this value is always NULL. | 48 // In the plugin, this value is always NULL. |
| 48 const PPB_Testing_Dev* ppb_testing_impl_; | 49 const PPB_Testing_Dev* ppb_testing_impl_; |
| 49 | 50 |
| 50 DISALLOW_COPY_AND_ASSIGN(PPB_Testing_Proxy); | 51 DISALLOW_COPY_AND_ASSIGN(PPB_Testing_Proxy); |
| 51 }; | 52 }; |
| 52 | 53 |
| 53 } // namespace proxy | 54 } // namespace proxy |
| 54 } // namespace ppapi | 55 } // namespace ppapi |
| 55 | 56 |
| 56 #endif // PPAPI_PROXY_PPB_TESTING_PROXY_H_ | 57 #endif // PPAPI_PROXY_PPB_TESTING_PROXY_H_ |
| OLD | NEW |