Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 11413200: Refactored PPB_Flash GetSettings to the new pepper resource model (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/flash_resource.cc ('k') | ppapi/proxy/ppb_flash_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1267 PP_Bool /* from_user_action */, 1267 PP_Bool /* from_user_action */,
1268 int32_t /* result */) 1268 int32_t /* result */)
1269 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, 1269 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset,
1270 PP_Instance /* instance */, 1270 PP_Instance /* instance */,
1271 PP_Time /* t */, 1271 PP_Time /* t */,
1272 double /* offset */) 1272 double /* offset */)
1273 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_IsRectTopmost, 1273 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_IsRectTopmost,
1274 PP_Instance /* instance */, 1274 PP_Instance /* instance */,
1275 PP_Rect /* rect */, 1275 PP_Rect /* rect */,
1276 PP_Bool /* result */) 1276 PP_Bool /* result */)
1277 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetSetting,
1278 PP_Instance /* instance */,
1279 PP_FlashSetting /* setting */,
1280 ppapi::proxy::SerializedVar /* result */)
1281 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting, 1277 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFlash_InvokePrinting,
1282 PP_Instance /* instance */) 1278 PP_Instance /* instance */)
1283 1279
1284 // PPB_Flash_MessageLoop. 1280 // PPB_Flash_MessageLoop.
1285 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Create, 1281 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Create,
1286 PP_Instance /* instance */, 1282 PP_Instance /* instance */,
1287 ppapi::HostResource /* result */) 1283 ppapi::HostResource /* result */)
1288 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Run, 1284 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Run,
1289 ppapi::HostResource /* flash_message_loop */, 1285 ppapi::HostResource /* flash_message_loop */,
1290 int32_t /* result */) 1286 int32_t /* result */)
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, 1583 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open,
1588 std::string /* device_id */, 1584 std::string /* device_id */,
1589 PP_AudioSampleRate /* sample_rate */, 1585 PP_AudioSampleRate /* sample_rate */,
1590 uint32_t /* sample_frame_count */) 1586 uint32_t /* sample_frame_count */)
1591 // Reply to an Open call. This supplies a socket handle and a shared memory 1587 // Reply to an Open call. This supplies a socket handle and a shared memory
1592 // handle. Both handles are passed in the ReplyParams struct. 1588 // handle. Both handles are passed in the ReplyParams struct.
1593 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) 1589 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply)
1594 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) 1590 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */)
1595 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) 1591 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close)
1596 1592
1597 // Flash. 1593 // Flash -----------------------------------------------------------------------
1598 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) 1594 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create)
1595
1596 // Message to notify the browser to register an update in system activity.
1599 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) 1597 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity)
1598
1599 // Query the browser for the proxy server to use for the given URL.
1600 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) 1600 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */)
1601 // Reply message for GetProxyForURL containing the proxy server.
1601 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, 1602 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply,
1602 std::string /* proxy */) 1603 std::string /* proxy */)
1603 1604
1604 // Queries the browser for the local time zone offset for a given time. 1605 // Queries the browser for the local time zone offset for a given time.
1605 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetLocalTimeZoneOffset, 1606 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetLocalTimeZoneOffset,
1606 base::Time /* time */) 1607 base::Time /* time */)
1607 // Reply to GetLocalTimeZoneOffset containing the time zone offset as a double. 1608 // Reply to GetLocalTimeZoneOffset containing the time zone offset as a double.
1608 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetLocalTimeZoneOffsetReply, 1609 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetLocalTimeZoneOffsetReply,
1609 double /* offset */) 1610 double /* offset */)
1610 1611
1612 // Query the browser for the restrictions on storing Flash LSOs.
1613 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_GetLocalDataRestrictions)
1614 // Reply message for GetLocalDataRestrictions containing the restrictions to
1615 // use. These are PP_FlashLSORestrictions cast to an int32_t.
1616 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetLocalDataRestrictionsReply,
1617 int32_t /* restrictions */)
1618
1619 // DeviceEnumeration -----------------------------------------------------------
1611 // Device enumeration messages used by audio input and video capture. 1620 // Device enumeration messages used by audio input and video capture.
1612 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices) 1621 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_EnumerateDevices)
1613 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply, 1622 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_DeviceEnumeration_EnumerateDevicesReply,
1614 std::vector<ppapi::DeviceRefData> /* devices */) 1623 std::vector<ppapi::DeviceRefData> /* devices */)
1615 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DeviceEnumeration_MonitorDeviceChange, 1624 IPC_MESSAGE_CONTROL1(PpapiHostMsg_DeviceEnumeration_MonitorDeviceChange,
1616 uint32_t /* callback_id */) 1625 uint32_t /* callback_id */)
1617 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_StopMonitoringDeviceChange) 1626 IPC_MESSAGE_CONTROL0(PpapiHostMsg_DeviceEnumeration_StopMonitoringDeviceChange)
1618 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange, 1627 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange,
1619 uint32_t /* callback_id */, 1628 uint32_t /* callback_id */,
1620 std::vector<ppapi::DeviceRefData> /* devices */) 1629 std::vector<ppapi::DeviceRefData> /* devices */)
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 std::vector<ppapi::HostResource> /* buffers */, 1732 std::vector<ppapi::HostResource> /* buffers */,
1724 uint32_t /* buffer_size */) 1733 uint32_t /* buffer_size */)
1725 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 1734 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
1726 uint32_t /* status */) 1735 uint32_t /* status */)
1727 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 1736 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
1728 uint32_t /* error */) 1737 uint32_t /* error */)
1729 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 1738 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
1730 uint32_t /* buffer */) 1739 uint32_t /* buffer */)
1731 1740
1732 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1741 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/flash_resource.cc ('k') | ppapi/proxy/ppb_flash_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698