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

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

Issue 12600019: Add Pepper TrueType font API plumbing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_aura. Pango headers missing. Created 7 years, 9 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/interface_list.cc ('k') | ppapi/proxy/ppapi_param_traits.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/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/process.h" 11 #include "base/process.h"
12 #include "base/shared_memory.h" 12 #include "base/shared_memory.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "base/sync_socket.h" 14 #include "base/sync_socket.h"
15 #include "gpu/command_buffer/common/command_buffer.h" 15 #include "gpu/command_buffer/common/command_buffer.h"
16 #include "gpu/ipc/gpu_command_buffer_traits.h" 16 #include "gpu/ipc/gpu_command_buffer_traits.h"
17 #include "ipc/ipc_channel_handle.h" 17 #include "ipc/ipc_channel_handle.h"
18 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
19 #include "ipc/ipc_message_utils.h" 19 #include "ipc/ipc_message_utils.h"
20 #include "ipc/ipc_platform_file.h" 20 #include "ipc/ipc_platform_file.h"
21 #include "ppapi/c/dev/pp_video_capture_dev.h" 21 #include "ppapi/c/dev/pp_video_capture_dev.h"
22 #include "ppapi/c/dev/pp_video_dev.h" 22 #include "ppapi/c/dev/pp_video_dev.h"
23 #include "ppapi/c/dev/ppb_directory_reader_dev.h" 23 #include "ppapi/c/dev/ppb_directory_reader_dev.h"
24 #include "ppapi/c/dev/ppb_text_input_dev.h" 24 #include "ppapi/c/dev/ppb_text_input_dev.h"
25 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
25 #include "ppapi/c/dev/ppb_url_util_dev.h" 26 #include "ppapi/c/dev/ppb_url_util_dev.h"
26 #include "ppapi/c/dev/ppp_printing_dev.h" 27 #include "ppapi/c/dev/ppp_printing_dev.h"
27 #include "ppapi/c/pp_bool.h" 28 #include "ppapi/c/pp_bool.h"
28 #include "ppapi/c/pp_file_info.h" 29 #include "ppapi/c/pp_file_info.h"
29 #include "ppapi/c/pp_instance.h" 30 #include "ppapi/c/pp_instance.h"
30 #include "ppapi/c/pp_module.h" 31 #include "ppapi/c/pp_module.h"
31 #include "ppapi/c/pp_point.h" 32 #include "ppapi/c/pp_point.h"
32 #include "ppapi/c/pp_rect.h" 33 #include "ppapi/c/pp_rect.h"
33 #include "ppapi/c/pp_resource.h" 34 #include "ppapi/c/pp_resource.h"
34 #include "ppapi/c/pp_size.h" 35 #include "ppapi/c/pp_size.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) 78 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton)
78 IPC_ENUM_TRAITS(PP_InputEvent_Type) 79 IPC_ENUM_TRAITS(PP_InputEvent_Type)
79 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) 80 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private)
80 IPC_ENUM_TRAITS(PP_NetworkListState_Private) 81 IPC_ENUM_TRAITS(PP_NetworkListState_Private)
81 IPC_ENUM_TRAITS(PP_NetworkListType_Private) 82 IPC_ENUM_TRAITS(PP_NetworkListType_Private)
82 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) 83 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev)
83 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) 84 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev)
84 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) 85 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev)
85 IPC_ENUM_TRAITS(PP_PrivateFontCharset) 86 IPC_ENUM_TRAITS(PP_PrivateFontCharset)
86 IPC_ENUM_TRAITS(PP_TextInput_Type) 87 IPC_ENUM_TRAITS(PP_TextInput_Type)
88 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev)
89 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev)
90 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev)
91 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev)
92 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev)
87 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) 93 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev)
88 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) 94 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile)
89 95
90 IPC_STRUCT_TRAITS_BEGIN(PP_Point) 96 IPC_STRUCT_TRAITS_BEGIN(PP_Point)
91 IPC_STRUCT_TRAITS_MEMBER(x) 97 IPC_STRUCT_TRAITS_MEMBER(x)
92 IPC_STRUCT_TRAITS_MEMBER(y) 98 IPC_STRUCT_TRAITS_MEMBER(y)
93 IPC_STRUCT_TRAITS_END() 99 IPC_STRUCT_TRAITS_END()
94 100
95 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint) 101 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint)
96 IPC_STRUCT_TRAITS_MEMBER(x) 102 IPC_STRUCT_TRAITS_MEMBER(x)
(...skipping 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 1413
1408 // Graphics2D, plugin -> host -> plugin 1414 // Graphics2D, plugin -> host -> plugin
1409 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Graphics2D_Flush) 1415 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Graphics2D_Flush)
1410 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_FlushAck) 1416 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_FlushAck)
1411 1417
1412 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_ReadImageData, 1418 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_ReadImageData,
1413 PP_Resource /* image */, 1419 PP_Resource /* image */,
1414 PP_Point /* top_left */) 1420 PP_Point /* top_left */)
1415 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_ReadImageDataAck) 1421 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_ReadImageDataAck)
1416 1422
1423 // TrueTypeFont.
1424 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TrueTypeFontSingleton_Create)
1425 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TrueTypeFontSingleton_GetFontFamilies)
1426 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFontSingleton_GetFontFamiliesReply,
1427 std::vector<std::string> /* font_families */)
1428 IPC_MESSAGE_CONTROL1(PpapiHostMsg_TrueTypeFont_Create,
1429 ppapi::proxy::SerializedTrueTypeFontDesc /* desc */)
1430 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TrueTypeFont_Describe)
1431 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFont_DescribeReply,
1432 ppapi::proxy::SerializedTrueTypeFontDesc /* desc */)
1433 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TrueTypeFont_GetTableTags)
1434 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFont_GetTableTagsReply,
1435 std::vector<uint32_t> /* tags */)
1436 IPC_MESSAGE_CONTROL3(PpapiHostMsg_TrueTypeFont_GetTable,
1437 uint32_t /* table */,
1438 int32_t /* offset */,
1439 int32_t /* max_data_length */)
1440 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TrueTypeFont_GetTableReply,
1441 std::string /* data */)
1442
1417 // HostResolverPrivate, plugin -> host -> plugin 1443 // HostResolverPrivate, plugin -> host -> plugin
1418 IPC_MESSAGE_CONTROL0(PpapiHostMsg_HostResolverPrivate_Create) 1444 IPC_MESSAGE_CONTROL0(PpapiHostMsg_HostResolverPrivate_Create)
1419 IPC_MESSAGE_CONTROL2(PpapiHostMsg_HostResolverPrivate_Resolve, 1445 IPC_MESSAGE_CONTROL2(PpapiHostMsg_HostResolverPrivate_Resolve,
1420 ppapi::HostPortPair /* host_port */, 1446 ppapi::HostPortPair /* host_port */,
1421 PP_HostResolver_Private_Hint /* hint */) 1447 PP_HostResolver_Private_Hint /* hint */)
1422 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_HostResolverPrivate_ResolveReply, 1448 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_HostResolverPrivate_ResolveReply,
1423 std::string /* canonical_name */, 1449 std::string /* canonical_name */,
1424 std::vector<PP_NetAddress_Private> /* net_address_list */) 1450 std::vector<PP_NetAddress_Private> /* net_address_list */)
1425 1451
1426 // Printing. 1452 // Printing.
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 std::vector<ppapi::HostResource> /* buffers */, 1736 std::vector<ppapi::HostResource> /* buffers */,
1711 uint32_t /* buffer_size */) 1737 uint32_t /* buffer_size */)
1712 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 1738 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
1713 uint32_t /* status */) 1739 uint32_t /* status */)
1714 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 1740 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
1715 uint32_t /* error */) 1741 uint32_t /* error */)
1716 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 1742 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
1717 uint32_t /* buffer */) 1743 uint32_t /* buffer */)
1718 1744
1719 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1745 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppapi_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698