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

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

Issue 16933003: Implement PPB_HostResolver_Dev: part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 months 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
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/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 IPC_ENUM_TRAITS(PP_DeviceType_Dev) 76 IPC_ENUM_TRAITS(PP_DeviceType_Dev)
77 IPC_ENUM_TRAITS(PP_DecryptorStreamType) 77 IPC_ENUM_TRAITS(PP_DecryptorStreamType)
78 IPC_ENUM_TRAITS(PP_FileSystemType) 78 IPC_ENUM_TRAITS(PP_FileSystemType)
79 IPC_ENUM_TRAITS(PP_FileType) 79 IPC_ENUM_TRAITS(PP_FileType)
80 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) 80 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission)
81 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) 81 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType)
82 IPC_ENUM_TRAITS(PP_FlashSetting) 82 IPC_ENUM_TRAITS(PP_FlashSetting)
83 IPC_ENUM_TRAITS(PP_ImageDataFormat) 83 IPC_ENUM_TRAITS(PP_ImageDataFormat)
84 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) 84 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton)
85 IPC_ENUM_TRAITS(PP_InputEvent_Type) 85 IPC_ENUM_TRAITS(PP_InputEvent_Type)
86 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) 86 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetAddressFamily_Private, PP_NETADDRESSFAMILY_IPV6)
87 IPC_ENUM_TRAITS(PP_NetworkListState_Private) 87 IPC_ENUM_TRAITS(PP_NetworkListState_Private)
88 IPC_ENUM_TRAITS(PP_NetworkListType_Private) 88 IPC_ENUM_TRAITS(PP_NetworkListType_Private)
89 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) 89 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev)
90 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) 90 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev)
91 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) 91 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev)
92 IPC_ENUM_TRAITS(PP_PrivateFontCharset) 92 IPC_ENUM_TRAITS(PP_PrivateFontCharset)
93 IPC_ENUM_TRAITS(PP_ResourceImage) 93 IPC_ENUM_TRAITS(PP_ResourceImage)
94 IPC_ENUM_TRAITS(PP_ResourceString) 94 IPC_ENUM_TRAITS(PP_ResourceString)
95 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkEvent, PP_TALKEVENT_NUM_EVENTS - 1) 95 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkEvent, PP_TALKEVENT_NUM_EVENTS - 1)
96 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkPermission, 96 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkPermission,
(...skipping 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TrueTypeFont_GetTableTags) 1490 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TrueTypeFont_GetTableTags)
1491 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFont_GetTableTagsReply, 1491 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFont_GetTableTagsReply,
1492 std::vector<uint32_t> /* tags */) 1492 std::vector<uint32_t> /* tags */)
1493 IPC_MESSAGE_CONTROL3(PpapiHostMsg_TrueTypeFont_GetTable, 1493 IPC_MESSAGE_CONTROL3(PpapiHostMsg_TrueTypeFont_GetTable,
1494 uint32_t /* table */, 1494 uint32_t /* table */,
1495 int32_t /* offset */, 1495 int32_t /* offset */,
1496 int32_t /* max_data_length */) 1496 int32_t /* max_data_length */)
1497 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFont_GetTableReply, 1497 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFont_GetTableReply,
1498 std::string /* data */) 1498 std::string /* data */)
1499 1499
1500 // HostResolverPrivate, plugin -> host -> plugin 1500 // Host Resolver ---------------------------------------------------------------
1501 IPC_MESSAGE_CONTROL0(PpapiHostMsg_HostResolverPrivate_Create) 1501 // Creates a PPB_HostResolver resource.
1502 IPC_MESSAGE_CONTROL2(PpapiHostMsg_HostResolverPrivate_Resolve, 1502 IPC_MESSAGE_CONTROL0(PpapiHostMsg_HostResolver_Create)
1503
1504 // Creates a PPB_HostResolver_Private resource.
1505 IPC_MESSAGE_CONTROL0(PpapiHostMsg_HostResolver_CreatePrivate)
1506
1507 IPC_MESSAGE_CONTROL2(PpapiHostMsg_HostResolver_Resolve,
raymes 2013/06/18 18:21:17 nit: it would be nice to document these messages i
yzshen1 2013/06/18 19:08:43 Done.
1503 ppapi::HostPortPair /* host_port */, 1508 ppapi::HostPortPair /* host_port */,
1504 PP_HostResolver_Private_Hint /* hint */) 1509 PP_HostResolver_Private_Hint /* hint */)
1505 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_HostResolverPrivate_ResolveReply, 1510 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_HostResolver_ResolveReply,
1506 std::string /* canonical_name */, 1511 std::string /* canonical_name */,
1507 std::vector<PP_NetAddress_Private> /* net_address_list */) 1512 std::vector<PP_NetAddress_Private> /* net_address_list */)
1508 1513
1509 // Printing. 1514 // Printing.
1510 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) 1515 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create)
1511 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) 1516 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings)
1512 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, 1517 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply,
1513 PP_PrintSettings_Dev /* print_settings */) 1518 PP_PrintSettings_Dev /* print_settings */)
1514 1519
1515 // URLLoader ------------------------------------------------------------------ 1520 // URLLoader ------------------------------------------------------------------
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1936 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) 1941 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply)
1937 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) 1942 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame)
1938 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply, 1943 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply,
1939 ppapi::HostResource /* resource_id */, 1944 ppapi::HostResource /* resource_id */,
1940 PP_ImageDataDesc /* image_data_desc */, 1945 PP_ImageDataDesc /* image_data_desc */,
1941 int /* fd */, 1946 int /* fd */,
1942 PP_TimeTicks /* timestamp */) 1947 PP_TimeTicks /* timestamp */)
1943 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) 1948 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
1944 1949
1945 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1950 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« ppapi/proxy/host_resolver_resource_base.cc ('K') | « ppapi/proxy/host_resolver_resource_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698