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

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
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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPPrinting_PrintPages, 458 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPPrinting_PrintPages,
459 PP_Instance /* instance */, 459 PP_Instance /* instance */,
460 std::vector<PP_PrintPageNumberRange_Dev> /* pages */, 460 std::vector<PP_PrintPageNumberRange_Dev> /* pages */,
461 ppapi::HostResource /* result */) 461 ppapi::HostResource /* result */)
462 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPPrinting_End, 462 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPPrinting_End,
463 PP_Instance /* instance */) 463 PP_Instance /* instance */)
464 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPPrinting_IsScalingDisabled, 464 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPPrinting_IsScalingDisabled,
465 PP_Instance /* instance */, 465 PP_Instance /* instance */,
466 bool /* result */) 466 bool /* result */)
467 467
468 // PPB_Printing.
469 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiMsg_PPBPrinting_GetDefaultPrintSettings,
yzshen1 2012/06/12 23:14:34 It should be called Ppapi*Host*Msg and put in the
raymes 2012/06/13 18:23:46 Done.
470 PP_Instance /* instance */,
471 std::string /* settings_string */,
yzshen1 2012/06/12 23:14:34 nit: usually you don't need to have the type in th
raymes 2012/06/13 18:23:47 Done.
472 bool /* result */)
473
468 // PPP_TextInput. 474 // PPP_TextInput.
469 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPTextInput_RequestSurroundingText, 475 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPTextInput_RequestSurroundingText,
470 PP_Instance /* instance */, 476 PP_Instance /* instance */,
471 uint32_t /* desired_number_of_characters */) 477 uint32_t /* desired_number_of_characters */)
472 478
473 // PPB_URLLoader 479 // PPB_URLLoader
474 // (Messages from browser to plugin to notify it of changes in state.) 480 // (Messages from browser to plugin to notify it of changes in state.)
475 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack, 481 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack,
476 ppapi::HostResource /* loader */, 482 ppapi::HostResource /* loader */,
477 int32 /* result */, 483 int32 /* result */,
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 // PPB_X509Certificate_Private 1315 // PPB_X509Certificate_Private
1310 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1316 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1311 std::vector<char> /* der */, 1317 std::vector<char> /* der */,
1312 bool /* succeeded */, 1318 bool /* succeeded */,
1313 ppapi::PPB_X509Certificate_Fields /* result */) 1319 ppapi::PPB_X509Certificate_Fields /* result */)
1314 1320
1315 // PPB_Font. 1321 // PPB_Font.
1316 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1322 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1317 std::string /* result */) 1323 std::string /* result */)
1318 #endif // !defined(OS_NACL) 1324 #endif // !defined(OS_NACL)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698