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 PP_Resource device, | 167 PP_Resource device); |
168 PP_Bool* result); | |
169 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result); | 168 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result); |
170 void OnHostMsgExecuteScript(PP_Instance instance, | 169 void OnHostMsgExecuteScript(PP_Instance instance, |
171 SerializedVarReceiveInput script, | 170 SerializedVarReceiveInput script, |
172 SerializedVarOutParam out_exception, | 171 SerializedVarOutParam out_exception, |
173 SerializedVarReturnValue result); | 172 SerializedVarReturnValue result); |
174 void OnHostMsgGetAudioHardwareOutputSampleRate(PP_Instance instance, | 173 void OnHostMsgGetAudioHardwareOutputSampleRate(PP_Instance instance, |
175 uint32_t *result); | 174 uint32_t *result); |
176 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance, | 175 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance, |
177 uint32_t *result); | 176 uint32_t *result); |
178 void OnHostMsgGetDefaultCharSet(PP_Instance instance, | 177 void OnHostMsgGetDefaultCharSet(PP_Instance instance, |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 // Other helpers. | 272 // Other helpers. |
274 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); | 273 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); |
275 | 274 |
276 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; | 275 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; |
277 }; | 276 }; |
278 | 277 |
279 } // namespace proxy | 278 } // namespace proxy |
280 } // namespace ppapi | 279 } // namespace ppapi |
281 | 280 |
282 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 281 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
OLD | NEW |