Index: ppapi/proxy/ppapi_messages.h |
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h |
index b964e1f67488a2e57cfb51c37fd2698159fcf2fb..86bd20f2867cbfe276c0505393efc708329b7b5d 100644 |
--- a/ppapi/proxy/ppapi_messages.h |
+++ b/ppapi/proxy/ppapi_messages.h |
@@ -1257,30 +1257,10 @@ IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
ppapi::HostResource /* video_decoder */) |
// PPB_Flash. |
-IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop, |
- PP_Instance /* instance */, |
- PP_Bool /* on_top */) |
-// This has to be synchronous becuase the caller may want to composite on |
-// top of the resulting text after the call is complete. |
-IPC_SYNC_MESSAGE_ROUTED2_1( |
- PpapiHostMsg_PPBFlash_DrawGlyphs, |
- PP_Instance /* instance */, |
- ppapi::proxy::PPBFlash_DrawGlyphs_Params /* params */, |
- PP_Bool /* result */) |
-IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBFlash_Navigate, |
- PP_Instance /* instance */, |
- ppapi::URLRequestInfoData /* request_data */, |
- std::string /* target */, |
- PP_Bool /* from_user_action */, |
- int32_t /* result */) |
IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, |
PP_Instance /* instance */, |
PP_Time /* t */, |
double /* offset */) |
-IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_IsRectTopmost, |
- PP_Instance /* instance */, |
- PP_Rect /* rect */, |
- PP_Bool /* result */) |
IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetSetting, |
PP_Instance /* instance */, |
PP_FlashSetting /* setting */, |
@@ -1613,6 +1593,32 @@ IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) |
IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, |
std::string /* proxy */) |
+// Notifies the renderer whether the Flash instance is in windowed mode. No |
+// reply is sent. |
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_SetInstanceAlwaysOnTop, |
+ bool /* on_top */) |
+ |
+// Notifies the renderer to draw text to the given PP_ImageData resource. All |
+// parmaters for drawing (including the resource to draw to) are contianed in |
yzshen1
2012/12/12 19:09:31
parmaters -> parameters
raymes
2012/12/12 22:01:21
Done.
|
+// the PPBFlash_DrawGlyphs_Params structure. An error code is sent in a reply |
+// message indicating success. |
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_DrawGlyphs, |
+ ppapi::proxy::PPBFlash_DrawGlyphs_Params /* params */) |
+ |
+// Notifies the renderer to navigate to the given URL contained in the |
+// URLRequestInfoData. An error code is sent in a reply message indicating |
+// success. |
+IPC_MESSAGE_CONTROL3(PpapiHostMsg_Flash_Navigate, |
+ ppapi::URLRequestInfoData /* data */, |
+ std::string /* target */, |
+ bool /* from_user_action */) |
+ |
+// Queries the renderer on whether the plugin instance is the topmost element |
+// in the area of the instance specified by the given PP_Rect. An error code is |
+// sent in a reply message indicating whether or not the rect is topmost. |
yzshen1
2012/12/12 19:09:31
It would be good to comment on what error_codes in
raymes
2012/12/12 22:01:21
Done.
|
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_IsRectTopmost, |
+ PP_Rect /* rect */) |
+ |
// Device enumeration messages used by audio input and video capture. |
IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices) |
IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply, |