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

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

Issue 1329213002: PDF: Use chrome.resourcesPrivate instead of Pepper to display translated strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@i18n_api
Patch Set: Remove test cases Created 5 years, 3 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
« no previous file with comments | « ppapi/proxy/pdf_resource_unittest.cc ('k') | ppapi/tests/test_pdf.cc » ('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 <map> 6 #include <map>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE) 107 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE)
108 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetAddressFamily_Private, 108 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetAddressFamily_Private,
109 PP_NETADDRESSFAMILY_PRIVATE_IPV6) 109 PP_NETADDRESSFAMILY_PRIVATE_IPV6)
110 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_State, PP_NETWORKLIST_STATE_UP) 110 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_State, PP_NETWORKLIST_STATE_UP)
111 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_Type, PP_NETWORKLIST_TYPE_CELLULAR) 111 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_Type, PP_NETWORKLIST_TYPE_CELLULAR)
112 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) 112 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev)
113 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) 113 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev)
114 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) 114 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev)
115 IPC_ENUM_TRAITS_MAX_VALUE(PP_PrivateDuplexMode_Dev, PP_PRIVATEDUPLEXMODE_LAST) 115 IPC_ENUM_TRAITS_MAX_VALUE(PP_PrivateDuplexMode_Dev, PP_PRIVATEDUPLEXMODE_LAST)
116 IPC_ENUM_TRAITS(PP_PrivateFontCharset) 116 IPC_ENUM_TRAITS(PP_PrivateFontCharset)
117 IPC_ENUM_TRAITS(PP_ResourceString)
118 IPC_ENUM_TRAITS_MAX_VALUE(PP_SessionType, PP_SESSIONTYPE_PERSISTENT_RELEASE) 117 IPC_ENUM_TRAITS_MAX_VALUE(PP_SessionType, PP_SESSIONTYPE_PERSISTENT_RELEASE)
119 IPC_ENUM_TRAITS_MAX_VALUE(PP_TCPSocket_Option, 118 IPC_ENUM_TRAITS_MAX_VALUE(PP_TCPSocket_Option,
120 PP_TCPSOCKET_OPTION_RECV_BUFFER_SIZE) 119 PP_TCPSOCKET_OPTION_RECV_BUFFER_SIZE)
121 IPC_ENUM_TRAITS(PP_TextInput_Type) 120 IPC_ENUM_TRAITS(PP_TextInput_Type)
122 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev) 121 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev)
123 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev) 122 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev)
124 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev) 123 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev)
125 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev) 124 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev)
126 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev) 125 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev)
127 IPC_ENUM_TRAITS_MAX_VALUE(PP_UDPSocket_Option, 126 IPC_ENUM_TRAITS_MAX_VALUE(PP_UDPSocket_Option,
(...skipping 2137 matching lines...) Expand 10 before | Expand all | Expand 10 after
2265 ppapi::HostResource /* flash_message_loop */, 2264 ppapi::HostResource /* flash_message_loop */,
2266 int32_t /* result */) 2265 int32_t /* result */)
2267 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlashMessageLoop_Quit, 2266 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlashMessageLoop_Quit,
2268 ppapi::HostResource /* flash_message_loop */) 2267 ppapi::HostResource /* flash_message_loop */)
2269 2268
2270 // PDF ------------------------------------------------------------------------ 2269 // PDF ------------------------------------------------------------------------
2271 2270
2272 // Creates the PDF resource. 2271 // Creates the PDF resource.
2273 IPC_MESSAGE_CONTROL0(PpapiHostMsg_PDF_Create) 2272 IPC_MESSAGE_CONTROL0(PpapiHostMsg_PDF_Create)
2274 2273
2275 // Requests the localized string for the given ID.
2276 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PDF_GetLocalizedString,
2277 PP_ResourceString /* string_id */)
2278 // Reply for PpapiHostMsg_PDF_GetLocalizedString containing the localized
2279 // string.
2280 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_PDF_GetLocalizedStringReply,
2281 std::string /* localized_string*/)
2282
2283 // Notifies the renderer that the PDF started loading. 2274 // Notifies the renderer that the PDF started loading.
2284 IPC_MESSAGE_CONTROL0(PpapiHostMsg_PDF_DidStartLoading) 2275 IPC_MESSAGE_CONTROL0(PpapiHostMsg_PDF_DidStartLoading)
2285 2276
2286 // Notifies the renderer that the PDF stopped loading. 2277 // Notifies the renderer that the PDF stopped loading.
2287 IPC_MESSAGE_CONTROL0(PpapiHostMsg_PDF_DidStopLoading) 2278 IPC_MESSAGE_CONTROL0(PpapiHostMsg_PDF_DidStopLoading)
2288 2279
2289 // Sets any restrictions on the PDF content. 2280 // Sets any restrictions on the PDF content.
2290 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PDF_SetContentRestriction, 2281 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PDF_SetContentRestriction,
2291 int /* restrictions */) 2282 int /* restrictions */)
2292 2283
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2334 std::vector<ppapi::HostResource> /* buffers */, 2325 std::vector<ppapi::HostResource> /* buffers */,
2335 uint32_t /* buffer_size */) 2326 uint32_t /* buffer_size */)
2336 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2327 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2337 uint32_t /* status */) 2328 uint32_t /* status */)
2338 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2329 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2339 uint32_t /* error */) 2330 uint32_t /* error */)
2340 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2331 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2341 uint32_t /* buffer */) 2332 uint32_t /* buffer */)
2342 2333
2343 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2334 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/pdf_resource_unittest.cc ('k') | ppapi/tests/test_pdf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698