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

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
« no previous file with comments | « ppapi/proxy/host_resolver_resource_base.cc ('k') | no next file » | 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/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 IPC_ENUM_TRAITS(PP_DeviceType_Dev) 77 IPC_ENUM_TRAITS(PP_DeviceType_Dev)
78 IPC_ENUM_TRAITS(PP_DecryptorStreamType) 78 IPC_ENUM_TRAITS(PP_DecryptorStreamType)
79 IPC_ENUM_TRAITS(PP_FileSystemType) 79 IPC_ENUM_TRAITS(PP_FileSystemType)
80 IPC_ENUM_TRAITS(PP_FileType) 80 IPC_ENUM_TRAITS(PP_FileType)
81 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) 81 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission)
82 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) 82 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType)
83 IPC_ENUM_TRAITS(PP_FlashSetting) 83 IPC_ENUM_TRAITS(PP_FlashSetting)
84 IPC_ENUM_TRAITS(PP_ImageDataFormat) 84 IPC_ENUM_TRAITS(PP_ImageDataFormat)
85 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) 85 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton)
86 IPC_ENUM_TRAITS(PP_InputEvent_Type) 86 IPC_ENUM_TRAITS(PP_InputEvent_Type)
87 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) 87 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetAddressFamily_Private, PP_NETADDRESSFAMILY_IPV6)
88 IPC_ENUM_TRAITS(PP_NetworkListState_Private) 88 IPC_ENUM_TRAITS(PP_NetworkListState_Private)
89 IPC_ENUM_TRAITS(PP_NetworkListType_Private) 89 IPC_ENUM_TRAITS(PP_NetworkListType_Private)
90 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) 90 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev)
91 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) 91 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev)
92 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) 92 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev)
93 IPC_ENUM_TRAITS(PP_PrivateFontCharset) 93 IPC_ENUM_TRAITS(PP_PrivateFontCharset)
94 IPC_ENUM_TRAITS(PP_ResourceImage) 94 IPC_ENUM_TRAITS(PP_ResourceImage)
95 IPC_ENUM_TRAITS(PP_ResourceString) 95 IPC_ENUM_TRAITS(PP_ResourceString)
96 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkEvent, PP_TALKEVENT_NUM_EVENTS - 1) 96 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkEvent, PP_TALKEVENT_NUM_EVENTS - 1)
97 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkPermission, 97 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkPermission,
(...skipping 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TrueTypeFont_GetTableTags) 1536 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TrueTypeFont_GetTableTags)
1537 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFont_GetTableTagsReply, 1537 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFont_GetTableTagsReply,
1538 std::vector<uint32_t> /* tags */) 1538 std::vector<uint32_t> /* tags */)
1539 IPC_MESSAGE_CONTROL3(PpapiHostMsg_TrueTypeFont_GetTable, 1539 IPC_MESSAGE_CONTROL3(PpapiHostMsg_TrueTypeFont_GetTable,
1540 uint32_t /* table */, 1540 uint32_t /* table */,
1541 int32_t /* offset */, 1541 int32_t /* offset */,
1542 int32_t /* max_data_length */) 1542 int32_t /* max_data_length */)
1543 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFont_GetTableReply, 1543 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFont_GetTableReply,
1544 std::string /* data */) 1544 std::string /* data */)
1545 1545
1546 // HostResolverPrivate, plugin -> host -> plugin 1546 // Host Resolver ---------------------------------------------------------------
1547 IPC_MESSAGE_CONTROL0(PpapiHostMsg_HostResolverPrivate_Create) 1547 // Creates a PPB_HostResolver resource.
1548 IPC_MESSAGE_CONTROL2(PpapiHostMsg_HostResolverPrivate_Resolve, 1548 IPC_MESSAGE_CONTROL0(PpapiHostMsg_HostResolver_Create)
1549
1550 // Creates a PPB_HostResolver_Private resource.
1551 IPC_MESSAGE_CONTROL0(PpapiHostMsg_HostResolver_CreatePrivate)
1552
1553 // Resolves the given hostname.
1554 IPC_MESSAGE_CONTROL2(PpapiHostMsg_HostResolver_Resolve,
1549 ppapi::HostPortPair /* host_port */, 1555 ppapi::HostPortPair /* host_port */,
1550 PP_HostResolver_Private_Hint /* hint */) 1556 PP_HostResolver_Private_Hint /* hint */)
1551 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_HostResolverPrivate_ResolveReply, 1557
1558 // This message is a reply to HostResolver_Resolve. On success,
1559 // |canonical_name| contains the canonical name of the host; |net_address_list|
1560 // is a list of network addresses. On failure, both fields are set to empty.
1561 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_HostResolver_ResolveReply,
1552 std::string /* canonical_name */, 1562 std::string /* canonical_name */,
1553 std::vector<PP_NetAddress_Private> /* net_address_list */) 1563 std::vector<PP_NetAddress_Private> /* net_address_list */)
1554 1564
1555 // Printing. 1565 // Printing.
1556 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) 1566 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create)
1557 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) 1567 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings)
1558 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, 1568 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply,
1559 PP_PrintSettings_Dev /* print_settings */) 1569 PP_PrintSettings_Dev /* print_settings */)
1560 1570
1561 // UDP Socket ------------------------------------------------------------------ 1571 // UDP Socket ------------------------------------------------------------------
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
2007 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) 2017 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply)
2008 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) 2018 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame)
2009 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply, 2019 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply,
2010 ppapi::HostResource /* resource_id */, 2020 ppapi::HostResource /* resource_id */,
2011 PP_ImageDataDesc /* image_data_desc */, 2021 PP_ImageDataDesc /* image_data_desc */,
2012 int /* fd */, 2022 int /* fd */,
2013 PP_TimeTicks /* timestamp */) 2023 PP_TimeTicks /* timestamp */)
2014 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) 2024 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
2015 2025
2016 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2026 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « 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