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

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

Issue 11578038: Convert pepper font list to new resource system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged 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/browser_font_singleton_resource.cc ('k') | ppapi/proxy/ppb_instance_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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 PP_Instance /* instance */, 958 PP_Instance /* instance */,
959 PP_Bool /* result */) 959 PP_Bool /* result */)
960 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript, 960 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBInstance_ExecuteScript,
961 PP_Instance /* instance */, 961 PP_Instance /* instance */,
962 ppapi::proxy::SerializedVar /* script */, 962 ppapi::proxy::SerializedVar /* script */,
963 ppapi::proxy::SerializedVar /* out_exception */, 963 ppapi::proxy::SerializedVar /* out_exception */,
964 ppapi::proxy::SerializedVar /* result */) 964 ppapi::proxy::SerializedVar /* result */)
965 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetDefaultCharSet, 965 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetDefaultCharSet,
966 PP_Instance /* instance */, 966 PP_Instance /* instance */,
967 ppapi::proxy::SerializedVar /* result */) 967 ppapi::proxy::SerializedVar /* result */)
968 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBInstance_GetFontFamilies,
969 std::string /* result */)
970 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_SetFullscreen, 968 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_SetFullscreen,
971 PP_Instance /* instance */, 969 PP_Instance /* instance */,
972 PP_Bool /* fullscreen */, 970 PP_Bool /* fullscreen */,
973 PP_Bool /* result */) 971 PP_Bool /* result */)
974 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBInstance_GetScreenSize, 972 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBInstance_GetScreenSize,
975 PP_Instance /* instance */, 973 PP_Instance /* instance */,
976 PP_Bool /* result */, 974 PP_Bool /* result */,
977 PP_Size /* size */) 975 PP_Size /* size */)
978 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_RequestInputEvents, 976 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_RequestInputEvents,
979 PP_Instance /* instance */, 977 PP_Instance /* instance */,
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1330 uint32 /* server_socket_id */) 1328 uint32 /* server_socket_id */)
1331 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, 1329 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy,
1332 uint32 /* socket_id */) 1330 uint32 /* socket_id */)
1333 1331
1334 // PPB_X509Certificate_Private 1332 // PPB_X509Certificate_Private
1335 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1333 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1336 std::vector<char> /* der */, 1334 std::vector<char> /* der */,
1337 bool /* succeeded */, 1335 bool /* succeeded */,
1338 ppapi::PPB_X509Certificate_Fields /* result */) 1336 ppapi::PPB_X509Certificate_Fields /* result */)
1339 1337
1340 #if !defined(OS_NACL) && !defined(NACL_WIN64)
1341 // PPB_Font.
1342 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1343 std::string /* result */)
1344
1345 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
1346
1347 //----------------------------------------------------------------------------- 1338 //-----------------------------------------------------------------------------
1348 // Resource call/reply messages. 1339 // Resource call/reply messages.
1349 // 1340 //
1350 // These are the new-style resource implementations where the resource is only 1341 // These are the new-style resource implementations where the resource is only
1351 // implemented in the proxy and "resource messages" are sent between this and a 1342 // implemented in the proxy and "resource messages" are sent between this and a
1352 // host object. Resource messages are a wrapper around some general routing 1343 // host object. Resource messages are a wrapper around some general routing
1353 // information and a separate message of a type defined by the specific resource 1344 // information and a separate message of a type defined by the specific resource
1354 // sending/receiving it. The extra paremeters allow the nested message to be 1345 // sending/receiving it. The extra paremeters allow the nested message to be
1355 // routed automatically to the correct resource. 1346 // routed automatically to the correct resource.
1356 1347
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1559 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, 1550 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open,
1560 std::string /* device_id */, 1551 std::string /* device_id */,
1561 PP_AudioSampleRate /* sample_rate */, 1552 PP_AudioSampleRate /* sample_rate */,
1562 uint32_t /* sample_frame_count */) 1553 uint32_t /* sample_frame_count */)
1563 // Reply to an Open call. This supplies a socket handle and a shared memory 1554 // Reply to an Open call. This supplies a socket handle and a shared memory
1564 // handle. Both handles are passed in the ReplyParams struct. 1555 // handle. Both handles are passed in the ReplyParams struct.
1565 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply) 1556 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_AudioInput_OpenReply)
1566 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */) 1557 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioInput_StartOrStop, bool /* capture */)
1567 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close) 1558 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Close)
1568 1559
1560 // BrowserFont -----------------------------------------------------------------
1561
1562 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_Create)
1563
1564 // Requests that the browser reply with the list of font families via
1565 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply.
1566 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies)
1567
1568 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font
1569 // family list. The |families| result is encoded by separating each family name
1570 // by a null character.
1571 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply,
1572 std::string /* families */)
1573
1569 // Flash ----------------------------------------------------------------------- 1574 // Flash -----------------------------------------------------------------------
1575
1570 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) 1576 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create)
1571 1577
1572 // Message to notify the browser to register an update in system activity. 1578 // Message to notify the browser to register an update in system activity.
1573 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) 1579 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity)
1574 1580
1575 // Query the browser for the proxy server to use for the given URL. 1581 // Query the browser for the proxy server to use for the given URL.
1576 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) 1582 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */)
1577 // Reply message for GetProxyForURL containing the proxy server. 1583 // Reply message for GetProxyForURL containing the proxy server.
1578 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply, 1584 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Flash_GetProxyForURLReply,
1579 std::string /* proxy */) 1585 std::string /* proxy */)
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1735 std::vector<ppapi::HostResource> /* buffers */, 1741 std::vector<ppapi::HostResource> /* buffers */,
1736 uint32_t /* buffer_size */) 1742 uint32_t /* buffer_size */)
1737 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 1743 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
1738 uint32_t /* status */) 1744 uint32_t /* status */)
1739 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 1745 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
1740 uint32_t /* error */) 1746 uint32_t /* error */)
1741 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 1747 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
1742 uint32_t /* buffer */) 1748 uint32_t /* buffer */)
1743 1749
1744 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1750 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/browser_font_singleton_resource.cc ('k') | ppapi/proxy/ppb_instance_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698