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

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

Issue 6432001: Implement proxy for FlashMenu and Run/QuitMessageLoop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle NULL menus more gracefully Created 9 years, 10 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/ppapi_messages.h ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "gpu/command_buffer/common/command_buffer.h" 5 #include "gpu/command_buffer/common/command_buffer.h"
6 #include "gpu/ipc/gpu_command_buffer_traits.h" 6 #include "gpu/ipc/gpu_command_buffer_traits.h"
7 #include "ipc/ipc_message_macros.h" 7 #include "ipc/ipc_message_macros.h"
8 #include "ppapi/c/dev/pp_file_info_dev.h" 8 #include "ppapi/c/dev/pp_file_info_dev.h"
9 #include "ppapi/c/ppb_var.h" 9 #include "ppapi/c/ppb_var.h"
10 10
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 PpapiHostMsg_PPBFlash_GetModuleLocalDirContents, 318 PpapiHostMsg_PPBFlash_GetModuleLocalDirContents,
319 PP_Instance /* instance */, 319 PP_Instance /* instance */,
320 std::string /* path */, 320 std::string /* path */,
321 std::vector<pp::proxy::SerializedDirEntry> /* entries */, 321 std::vector<pp::proxy::SerializedDirEntry> /* entries */,
322 int32_t /* result */) 322 int32_t /* result */)
323 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_NavigateToURL, 323 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlash_NavigateToURL,
324 PP_Instance /* instance */, 324 PP_Instance /* instance */,
325 std::string /* url */, 325 std::string /* url */,
326 std::string /* target */, 326 std::string /* target */,
327 PP_Bool /* result */) 327 PP_Bool /* result */)
328 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_RunMessageLoop,
329 PP_Instance /* instance */)
330 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_QuitMessageLoop,
331 PP_Instance /* instance */)
332
333 // PPB_Flash_Menu
334 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashMenu_Create,
335 PP_Instance /* instance */,
336 pp::proxy::SerializedFlashMenu /* menu_data */,
337 pp::proxy::HostResource /* result */)
338 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashMenu_Show,
339 pp::proxy::HostResource /* menu */,
340 PP_Point /* location */)
341 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashMenu_ShowACK,
342 pp::proxy::HostResource /* menu */,
343 int32_t /* selected_id */,
344 int32_t /* result */)
345
328 346
329 // PPB_Font. 347 // PPB_Font.
330 IPC_SYNC_MESSAGE_ROUTED2_3( 348 IPC_SYNC_MESSAGE_ROUTED2_3(
331 PpapiHostMsg_PPBFont_Create, 349 PpapiHostMsg_PPBFont_Create,
332 PP_Instance /* instance */, 350 PP_Instance /* instance */,
333 pp::proxy::SerializedFontDescription /* in_description */, 351 pp::proxy::SerializedFontDescription /* in_description */,
334 pp::proxy::HostResource /* result */, 352 pp::proxy::HostResource /* result */,
335 pp::proxy::SerializedFontDescription /* out_description */, 353 pp::proxy::SerializedFontDescription /* out_description */,
336 std::string /* out_metrics */) 354 std::string /* out_metrics */)
337 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFont_DrawTextAt, 355 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFont_DrawTextAt,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBSurface3D_SwapBuffers, 460 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBSurface3D_SwapBuffers,
443 pp::proxy::HostResource /* surface_3d */) 461 pp::proxy::HostResource /* surface_3d */)
444 462
445 // PPB_Testing. 463 // PPB_Testing.
446 IPC_SYNC_MESSAGE_ROUTED3_1( 464 IPC_SYNC_MESSAGE_ROUTED3_1(
447 PpapiHostMsg_PPBTesting_ReadImageData, 465 PpapiHostMsg_PPBTesting_ReadImageData,
448 pp::proxy::HostResource /* device_context_2d */, 466 pp::proxy::HostResource /* device_context_2d */,
449 pp::proxy::HostResource /* image */, 467 pp::proxy::HostResource /* image */,
450 PP_Point /* top_left */, 468 PP_Point /* top_left */,
451 PP_Bool /* result */) 469 PP_Bool /* result */)
452 IPC_SYNC_MESSAGE_ROUTED0_1(PpapiHostMsg_PPBTesting_RunMessageLoop, 470 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBTesting_RunMessageLoop,
453 bool /* dummy since there's no 0_0 variant */) 471 PP_Instance /* instance */)
454 IPC_MESSAGE_ROUTED0(PpapiHostMsg_PPBTesting_QuitMessageLoop) 472 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBTesting_QuitMessageLoop,
473 PP_Instance /* instance */)
455 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, 474 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance,
456 PP_Instance /* instance */, 475 PP_Instance /* instance */,
457 uint32 /* result */) 476 uint32 /* result */)
458 477
459 // PPB_URLLoader. 478 // PPB_URLLoader.
460 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_Create, 479 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_Create,
461 PP_Instance /* instance */, 480 PP_Instance /* instance */,
462 pp::proxy::HostResource /* result */) 481 pp::proxy::HostResource /* result */)
463 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBURLLoader_Open, 482 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBURLLoader_Open,
464 pp::proxy::HostResource /* loader */, 483 pp::proxy::HostResource /* loader */,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, 598 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated,
580 pp::proxy::SerializedVar /* var */, 599 pp::proxy::SerializedVar /* var */,
581 int64 /* object_class */, 600 int64 /* object_class */,
582 int64 /* object-data */, 601 int64 /* object-data */,
583 PP_Bool /* result */) 602 PP_Bool /* result */)
584 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, 603 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated,
585 PP_Instance /* instance */, 604 PP_Instance /* instance */,
586 int64 /* object_class */, 605 int64 /* object_class */,
587 int64 /* object_data */, 606 int64 /* object_data */,
588 pp::proxy::SerializedVar /* result */) 607 pp::proxy::SerializedVar /* result */)
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppapi_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698