| 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_INSTANCE_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 | 157 |
| 158 static const ApiID kApiID = API_ID_PPB_INSTANCE; | 158 static const ApiID kApiID = API_ID_PPB_INSTANCE; |
| 159 | 159 |
| 160 private: | 160 private: |
| 161 // Plugin -> Host message handlers. | 161 // Plugin -> Host message handlers. |
| 162 void OnHostMsgGetWindowObject(PP_Instance instance, | 162 void OnHostMsgGetWindowObject(PP_Instance instance, |
| 163 SerializedVarReturnValue result); | 163 SerializedVarReturnValue result); |
| 164 void OnHostMsgGetOwnerElementObject(PP_Instance instance, | 164 void OnHostMsgGetOwnerElementObject(PP_Instance instance, |
| 165 SerializedVarReturnValue result); | 165 SerializedVarReturnValue result); |
| 166 void OnHostMsgBindGraphics(PP_Instance instance, | 166 void OnHostMsgBindGraphics(PP_Instance instance, |
| 167 const ppapi::HostResource& device, | 167 PP_Resource device, |
| 168 PP_Bool* result); | 168 PP_Bool* result); |
| 169 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result); | 169 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result); |
| 170 void OnHostMsgExecuteScript(PP_Instance instance, | 170 void OnHostMsgExecuteScript(PP_Instance instance, |
| 171 SerializedVarReceiveInput script, | 171 SerializedVarReceiveInput script, |
| 172 SerializedVarOutParam out_exception, | 172 SerializedVarOutParam out_exception, |
| 173 SerializedVarReturnValue result); | 173 SerializedVarReturnValue result); |
| 174 void OnHostMsgGetAudioHardwareOutputSampleRate(PP_Instance instance, | 174 void OnHostMsgGetAudioHardwareOutputSampleRate(PP_Instance instance, |
| 175 uint32_t *result); | 175 uint32_t *result); |
| 176 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance, | 176 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance, |
| 177 uint32_t *result); | 177 uint32_t *result); |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 // Other helpers. | 270 // Other helpers. |
| 271 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); | 271 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); |
| 272 | 272 |
| 273 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; | 273 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; |
| 274 }; | 274 }; |
| 275 | 275 |
| 276 } // namespace proxy | 276 } // namespace proxy |
| 277 } // namespace ppapi | 277 } // namespace ppapi |
| 278 | 278 |
| 279 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 279 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| OLD | NEW |