| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 static const ApiID kApiID = API_ID_PPB_INSTANCE; | 147 static const ApiID kApiID = API_ID_PPB_INSTANCE; |
| 148 | 148 |
| 149 private: | 149 private: |
| 150 // Plugin -> Host message handlers. | 150 // Plugin -> Host message handlers. |
| 151 void OnHostMsgGetWindowObject(PP_Instance instance, | 151 void OnHostMsgGetWindowObject(PP_Instance instance, |
| 152 SerializedVarReturnValue result); | 152 SerializedVarReturnValue result); |
| 153 void OnHostMsgGetOwnerElementObject(PP_Instance instance, | 153 void OnHostMsgGetOwnerElementObject(PP_Instance instance, |
| 154 SerializedVarReturnValue result); | 154 SerializedVarReturnValue result); |
| 155 void OnHostMsgBindGraphics(PP_Instance instance, | 155 void OnHostMsgBindGraphics(PP_Instance instance, |
| 156 const ppapi::HostResource& device, | 156 PP_Resource device, |
| 157 PP_Bool* result); | 157 PP_Bool* result); |
| 158 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result); | 158 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result); |
| 159 void OnHostMsgExecuteScript(PP_Instance instance, | 159 void OnHostMsgExecuteScript(PP_Instance instance, |
| 160 SerializedVarReceiveInput script, | 160 SerializedVarReceiveInput script, |
| 161 SerializedVarOutParam out_exception, | 161 SerializedVarOutParam out_exception, |
| 162 SerializedVarReturnValue result); | 162 SerializedVarReturnValue result); |
| 163 void OnHostMsgGetAudioHardwareOutputSampleRate(PP_Instance instance, | 163 void OnHostMsgGetAudioHardwareOutputSampleRate(PP_Instance instance, |
| 164 uint32_t *result); | 164 uint32_t *result); |
| 165 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance, | 165 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance, |
| 166 uint32_t *result); | 166 uint32_t *result); |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 // Other helpers. | 249 // Other helpers. |
| 250 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); | 250 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); |
| 251 | 251 |
| 252 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; | 252 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; |
| 253 }; | 253 }; |
| 254 | 254 |
| 255 } // namespace proxy | 255 } // namespace proxy |
| 256 } // namespace ppapi | 256 } // namespace ppapi |
| 257 | 257 |
| 258 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 258 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| OLD | NEW |