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

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

Issue 8769003: Pepper IME API for surrounding text retrieval. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge master. Created 8 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/ppb_text_input_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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPPrinting_PrintPages, 484 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPPrinting_PrintPages,
485 PP_Instance /* instance */, 485 PP_Instance /* instance */,
486 std::vector<PP_PrintPageNumberRange_Dev> /* pages */, 486 std::vector<PP_PrintPageNumberRange_Dev> /* pages */,
487 ppapi::HostResource /* result */) 487 ppapi::HostResource /* result */)
488 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPPrinting_End, 488 IPC_MESSAGE_ROUTED1(PpapiMsg_PPPPrinting_End,
489 PP_Instance /* instance */) 489 PP_Instance /* instance */)
490 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPPrinting_IsScalingDisabled, 490 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPPrinting_IsScalingDisabled,
491 PP_Instance /* instance */, 491 PP_Instance /* instance */,
492 bool /* result */) 492 bool /* result */)
493 493
494 // PPP_TextInput.
495 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPTextInput_RequestSurroundingText,
496 PP_Instance /* instance */,
497 uint32_t /* desired_number_of_characters */)
498
494 // PPB_URLLoader 499 // PPB_URLLoader
495 // (Messages from browser to plugin to notify it of changes in state.) 500 // (Messages from browser to plugin to notify it of changes in state.)
496 IPC_MESSAGE_ROUTED1( 501 IPC_MESSAGE_ROUTED1(
497 PpapiMsg_PPBURLLoader_UpdateProgress, 502 PpapiMsg_PPBURLLoader_UpdateProgress,
498 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */) 503 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */)
499 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack, 504 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack,
500 ppapi::HostResource /* loader */, 505 ppapi::HostResource /* loader */,
501 int32 /* result */, 506 int32 /* result */,
502 std::string /* data */) 507 std::string /* data */)
503 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBURLLoader_CallbackComplete, 508 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBURLLoader_CallbackComplete,
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 // PPB_TextInput. 911 // PPB_TextInput.
907 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBTextInput_SetTextInputType, 912 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBTextInput_SetTextInputType,
908 PP_Instance /* instance */, 913 PP_Instance /* instance */,
909 PP_TextInput_Type /* type */) 914 PP_TextInput_Type /* type */)
910 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBTextInput_UpdateCaretPosition, 915 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBTextInput_UpdateCaretPosition,
911 PP_Instance /* instance */, 916 PP_Instance /* instance */,
912 PP_Rect /* caret */, 917 PP_Rect /* caret */,
913 PP_Rect /* bounding_box */) 918 PP_Rect /* bounding_box */)
914 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBTextInput_CancelCompositionText, 919 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBTextInput_CancelCompositionText,
915 PP_Instance /* instance */) 920 PP_Instance /* instance */)
921 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBTextInput_SelectionChanged,
922 PP_Instance /* instance */)
923 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBTextInput_UpdateSurroundingText,
924 PP_Instance /* instance */,
925 std::string /* text */,
926 uint32_t /* caret */,
927 uint32_t /* anchor */)
916 928
917 // PPB_URLLoader. 929 // PPB_URLLoader.
918 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_Create, 930 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_Create,
919 PP_Instance /* instance */, 931 PP_Instance /* instance */,
920 ppapi::HostResource /* result */) 932 ppapi::HostResource /* result */)
921 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_Open, 933 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_Open,
922 ppapi::HostResource /* loader */, 934 ppapi::HostResource /* loader */,
923 ppapi::PPB_URLRequestInfo_Data /* request_data */) 935 ppapi::PPB_URLRequestInfo_Data /* request_data */)
924 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoader_FollowRedirect, 936 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoader_FollowRedirect,
925 ppapi::HostResource /* loader */) 937 ppapi::HostResource /* loader */)
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Accept, 1265 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Accept,
1254 uint32 /* real_socket_id */) 1266 uint32 /* real_socket_id */)
1255 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, 1267 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy,
1256 uint32 /* real_socket_id */) 1268 uint32 /* real_socket_id */)
1257 1269
1258 // PPB_Font. 1270 // PPB_Font.
1259 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1271 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1260 std::string /* result */) 1272 std::string /* result */)
1261 #endif // !defined(OS_NACL) 1273 #endif // !defined(OS_NACL)
1262 1274
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_text_input_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698