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

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

Issue 10544085: Added PPB function to return default print settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/interface_list.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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #define IPC_MESSAGE_START PpapiMsgStart 54 #define IPC_MESSAGE_START PpapiMsgStart
55 55
56 IPC_ENUM_TRAITS(PP_DeviceType_Dev) 56 IPC_ENUM_TRAITS(PP_DeviceType_Dev)
57 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) 57 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission)
58 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) 58 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType)
59 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) 59 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton)
60 IPC_ENUM_TRAITS(PP_InputEvent_Type) 60 IPC_ENUM_TRAITS(PP_InputEvent_Type)
61 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) 61 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private)
62 IPC_ENUM_TRAITS(PP_NetworkListType_Private) 62 IPC_ENUM_TRAITS(PP_NetworkListType_Private)
63 IPC_ENUM_TRAITS(PP_NetworkListState_Private) 63 IPC_ENUM_TRAITS(PP_NetworkListState_Private)
64 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev)
65 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev)
66 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev)
64 IPC_ENUM_TRAITS(PP_TextInput_Type) 67 IPC_ENUM_TRAITS(PP_TextInput_Type)
65 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) 68 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev)
66 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) 69 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile)
67 70
68 IPC_STRUCT_TRAITS_BEGIN(PP_Point) 71 IPC_STRUCT_TRAITS_BEGIN(PP_Point)
69 IPC_STRUCT_TRAITS_MEMBER(x) 72 IPC_STRUCT_TRAITS_MEMBER(x)
70 IPC_STRUCT_TRAITS_MEMBER(y) 73 IPC_STRUCT_TRAITS_MEMBER(y)
71 IPC_STRUCT_TRAITS_END() 74 IPC_STRUCT_TRAITS_END()
72 75
73 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint) 76 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint)
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 IPC_STRUCT_TRAITS_MEMBER(width) 108 IPC_STRUCT_TRAITS_MEMBER(width)
106 IPC_STRUCT_TRAITS_MEMBER(height) 109 IPC_STRUCT_TRAITS_MEMBER(height)
107 IPC_STRUCT_TRAITS_MEMBER(frames_per_second) 110 IPC_STRUCT_TRAITS_MEMBER(frames_per_second)
108 IPC_STRUCT_TRAITS_END() 111 IPC_STRUCT_TRAITS_END()
109 112
110 IPC_STRUCT_TRAITS_BEGIN(PP_HostResolver_Private_Hint) 113 IPC_STRUCT_TRAITS_BEGIN(PP_HostResolver_Private_Hint)
111 IPC_STRUCT_TRAITS_MEMBER(family) 114 IPC_STRUCT_TRAITS_MEMBER(family)
112 IPC_STRUCT_TRAITS_MEMBER(flags) 115 IPC_STRUCT_TRAITS_MEMBER(flags)
113 IPC_STRUCT_TRAITS_END() 116 IPC_STRUCT_TRAITS_END()
114 117
118 IPC_STRUCT_TRAITS_BEGIN(PP_PrintSettings_Dev)
119 IPC_STRUCT_TRAITS_MEMBER(printable_area)
120 IPC_STRUCT_TRAITS_MEMBER(content_area)
121 IPC_STRUCT_TRAITS_MEMBER(paper_size)
122 IPC_STRUCT_TRAITS_MEMBER(dpi)
123 IPC_STRUCT_TRAITS_MEMBER(orientation)
124 IPC_STRUCT_TRAITS_MEMBER(print_scaling_option)
125 IPC_STRUCT_TRAITS_MEMBER(grayscale)
126 IPC_STRUCT_TRAITS_MEMBER(format)
127 IPC_STRUCT_TRAITS_END()
128
115 IPC_STRUCT_TRAITS_BEGIN(ppapi::DeviceRefData) 129 IPC_STRUCT_TRAITS_BEGIN(ppapi::DeviceRefData)
116 IPC_STRUCT_TRAITS_MEMBER(type) 130 IPC_STRUCT_TRAITS_MEMBER(type)
117 IPC_STRUCT_TRAITS_MEMBER(name) 131 IPC_STRUCT_TRAITS_MEMBER(name)
118 IPC_STRUCT_TRAITS_MEMBER(id) 132 IPC_STRUCT_TRAITS_MEMBER(id)
119 IPC_STRUCT_TRAITS_END() 133 IPC_STRUCT_TRAITS_END()
120 134
121 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) 135 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData)
122 IPC_STRUCT_TRAITS_MEMBER(rect) 136 IPC_STRUCT_TRAITS_MEMBER(rect)
123 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) 137 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen)
124 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) 138 IPC_STRUCT_TRAITS_MEMBER(is_page_visible)
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_ClearInputEvents, 898 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_ClearInputEvents,
885 PP_Instance /* instance */, 899 PP_Instance /* instance */,
886 uint32_t /* event_classes */) 900 uint32_t /* event_classes */)
887 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_PostMessage, 901 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_PostMessage,
888 PP_Instance /* instance */, 902 PP_Instance /* instance */,
889 ppapi::proxy::SerializedVar /* message */) 903 ppapi::proxy::SerializedVar /* message */)
890 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBInstance_LockMouse, 904 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBInstance_LockMouse,
891 PP_Instance /* instance */) 905 PP_Instance /* instance */)
892 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBInstance_UnlockMouse, 906 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBInstance_UnlockMouse,
893 PP_Instance /* instance */) 907 PP_Instance /* instance */)
908 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBPInstance_GetDefaultPrintSettings,
909 PP_Instance /* instance */,
910 PP_PrintSettings_Dev /* settings */,
911 bool /* result */)
894 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_ResolveRelativeToDocument, 912 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_ResolveRelativeToDocument,
895 PP_Instance /* instance */, 913 PP_Instance /* instance */,
896 ppapi::proxy::SerializedVar /* relative */, 914 ppapi::proxy::SerializedVar /* relative */,
897 ppapi::proxy::SerializedVar /* result */) 915 ppapi::proxy::SerializedVar /* result */)
898 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_DocumentCanRequest, 916 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_DocumentCanRequest,
899 PP_Instance /* instance */, 917 PP_Instance /* instance */,
900 ppapi::proxy::SerializedVar /* relative */, 918 ppapi::proxy::SerializedVar /* relative */,
901 PP_Bool /* result */) 919 PP_Bool /* result */)
902 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_DocumentCanAccessDocument, 920 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_DocumentCanAccessDocument,
903 PP_Instance /* active */, 921 PP_Instance /* active */,
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 // PPB_X509Certificate_Private 1327 // PPB_X509Certificate_Private
1310 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1328 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1311 std::vector<char> /* der */, 1329 std::vector<char> /* der */,
1312 bool /* succeeded */, 1330 bool /* succeeded */,
1313 ppapi::PPB_X509Certificate_Fields /* result */) 1331 ppapi::PPB_X509Certificate_Fields /* result */)
1314 1332
1315 // PPB_Font. 1333 // PPB_Font.
1316 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1334 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1317 std::string /* result */) 1335 std::string /* result */)
1318 #endif // !defined(OS_NACL) 1336 #endif // !defined(OS_NACL)
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_instance_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698