OLD | NEW |
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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 IPC_STRUCT_MEMBER(bool, user_gesture) | 331 IPC_STRUCT_MEMBER(bool, user_gesture) |
332 | 332 |
333 // Type of window requested. | 333 // Type of window requested. |
334 IPC_STRUCT_MEMBER(WindowContainerType, window_container_type) | 334 IPC_STRUCT_MEMBER(WindowContainerType, window_container_type) |
335 | 335 |
336 // The session storage namespace ID this view should use. | 336 // The session storage namespace ID this view should use. |
337 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) | 337 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) |
338 | 338 |
339 // The name of the resulting frame that should be created (empty if none | 339 // The name of the resulting frame that should be created (empty if none |
340 // has been specified). | 340 // has been specified). |
341 IPC_STRUCT_MEMBER(string16, frame_name) | 341 IPC_STRUCT_MEMBER(base::string16, frame_name) |
342 | 342 |
343 // The frame identifier of the frame initiating the open. | 343 // The frame identifier of the frame initiating the open. |
344 IPC_STRUCT_MEMBER(int64, opener_frame_id) | 344 IPC_STRUCT_MEMBER(int64, opener_frame_id) |
345 | 345 |
346 // The URL of the frame initiating the open. | 346 // The URL of the frame initiating the open. |
347 IPC_STRUCT_MEMBER(GURL, opener_url) | 347 IPC_STRUCT_MEMBER(GURL, opener_url) |
348 | 348 |
349 // The URL of the top frame containing the opener. | 349 // The URL of the top frame containing the opener. |
350 IPC_STRUCT_MEMBER(GURL, opener_top_level_frame_url) | 350 IPC_STRUCT_MEMBER(GURL, opener_top_level_frame_url) |
351 | 351 |
(...skipping 14 matching lines...) Expand all Loading... |
366 // The referrer that will be used to load |target_url| (empty if none has | 366 // The referrer that will be used to load |target_url| (empty if none has |
367 // been specified). | 367 // been specified). |
368 IPC_STRUCT_MEMBER(content::Referrer, referrer) | 368 IPC_STRUCT_MEMBER(content::Referrer, referrer) |
369 | 369 |
370 // The window features to use for the new view. | 370 // The window features to use for the new view. |
371 IPC_STRUCT_MEMBER(blink::WebWindowFeatures, features) | 371 IPC_STRUCT_MEMBER(blink::WebWindowFeatures, features) |
372 | 372 |
373 // The additional window features to use for the new view. We pass these | 373 // The additional window features to use for the new view. We pass these |
374 // separately from |features| above because we cannot serialize WebStrings | 374 // separately from |features| above because we cannot serialize WebStrings |
375 // over IPC. | 375 // over IPC. |
376 IPC_STRUCT_MEMBER(std::vector<string16>, additional_features) | 376 IPC_STRUCT_MEMBER(std::vector<base::string16>, additional_features) |
377 IPC_STRUCT_END() | 377 IPC_STRUCT_END() |
378 | 378 |
379 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) | 379 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) |
380 // URL for the worker script. | 380 // URL for the worker script. |
381 IPC_STRUCT_MEMBER(GURL, url) | 381 IPC_STRUCT_MEMBER(GURL, url) |
382 | 382 |
383 // Name for a SharedWorker, otherwise empty string. | 383 // Name for a SharedWorker, otherwise empty string. |
384 IPC_STRUCT_MEMBER(string16, name) | 384 IPC_STRUCT_MEMBER(base::string16, name) |
385 | 385 |
386 // The ID of the parent document (unique within parent renderer). | 386 // The ID of the parent document (unique within parent renderer). |
387 IPC_STRUCT_MEMBER(unsigned long long, document_id) | 387 IPC_STRUCT_MEMBER(unsigned long long, document_id) |
388 | 388 |
389 // RenderView routing id used to send messages back to the parent. | 389 // RenderView routing id used to send messages back to the parent. |
390 IPC_STRUCT_MEMBER(int, render_view_route_id) | 390 IPC_STRUCT_MEMBER(int, render_view_route_id) |
391 | 391 |
392 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, | 392 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, |
393 // a new unique ID is created and assigned to the worker. | 393 // a new unique ID is created and assigned to the worker. |
394 IPC_STRUCT_MEMBER(int, route_id) | 394 IPC_STRUCT_MEMBER(int, route_id) |
(...skipping 15 matching lines...) Expand all Loading... |
410 IPC_STRUCT_MEMBER(int, week) | 410 IPC_STRUCT_MEMBER(int, week) |
411 IPC_STRUCT_MEMBER(double, minimum) | 411 IPC_STRUCT_MEMBER(double, minimum) |
412 IPC_STRUCT_MEMBER(double, maximum) | 412 IPC_STRUCT_MEMBER(double, maximum) |
413 IPC_STRUCT_MEMBER(double, step) | 413 IPC_STRUCT_MEMBER(double, step) |
414 IPC_STRUCT_END() | 414 IPC_STRUCT_END() |
415 | 415 |
416 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) | 416 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) |
417 // The frame ID for the failure report. | 417 // The frame ID for the failure report. |
418 IPC_STRUCT_MEMBER(int64, frame_id) | 418 IPC_STRUCT_MEMBER(int64, frame_id) |
419 // The WebFrame's uniqueName(). | 419 // The WebFrame's uniqueName(). |
420 IPC_STRUCT_MEMBER(string16, frame_unique_name) | 420 IPC_STRUCT_MEMBER(base::string16, frame_unique_name) |
421 // True if this is the top-most frame. | 421 // True if this is the top-most frame. |
422 IPC_STRUCT_MEMBER(bool, is_main_frame) | 422 IPC_STRUCT_MEMBER(bool, is_main_frame) |
423 // Error code as reported in the DidFailProvisionalLoad callback. | 423 // Error code as reported in the DidFailProvisionalLoad callback. |
424 IPC_STRUCT_MEMBER(int, error_code) | 424 IPC_STRUCT_MEMBER(int, error_code) |
425 // An error message generated from the error_code. This can be an empty | 425 // An error message generated from the error_code. This can be an empty |
426 // string if we were unable to find a meaningful description. | 426 // string if we were unable to find a meaningful description. |
427 IPC_STRUCT_MEMBER(string16, error_description) | 427 IPC_STRUCT_MEMBER(base::string16, error_description) |
428 // The URL that the error is reported for. | 428 // The URL that the error is reported for. |
429 IPC_STRUCT_MEMBER(GURL, url) | 429 IPC_STRUCT_MEMBER(GURL, url) |
430 // True if the failure is the result of navigating to a POST again | 430 // True if the failure is the result of navigating to a POST again |
431 // and we're going to show the POST interstitial. | 431 // and we're going to show the POST interstitial. |
432 IPC_STRUCT_MEMBER(bool, showing_repost_interstitial) | 432 IPC_STRUCT_MEMBER(bool, showing_repost_interstitial) |
433 IPC_STRUCT_END() | 433 IPC_STRUCT_END() |
434 | 434 |
435 // Parameters structure for ViewHostMsg_FrameNavigate, which has too many data | 435 // Parameters structure for ViewHostMsg_FrameNavigate, which has too many data |
436 // parameters to be reasonably put in a predefined IPC message. | 436 // parameters to be reasonably put in a predefined IPC message. |
437 IPC_STRUCT_BEGIN_WITH_PARENT(ViewHostMsg_FrameNavigate_Params, | 437 IPC_STRUCT_BEGIN_WITH_PARENT(ViewHostMsg_FrameNavigate_Params, |
438 content::FrameNavigateParams) | 438 content::FrameNavigateParams) |
439 IPC_STRUCT_TRAITS_PARENT(content::FrameNavigateParams) | 439 IPC_STRUCT_TRAITS_PARENT(content::FrameNavigateParams) |
440 // The frame ID for this navigation. The frame ID uniquely identifies the | 440 // The frame ID for this navigation. The frame ID uniquely identifies the |
441 // frame the navigation happened in for a given renderer. | 441 // frame the navigation happened in for a given renderer. |
442 IPC_STRUCT_MEMBER(int64, frame_id) | 442 IPC_STRUCT_MEMBER(int64, frame_id) |
443 | 443 |
444 // The WebFrame's uniqueName(). | 444 // The WebFrame's uniqueName(). |
445 IPC_STRUCT_MEMBER(string16, frame_unique_name) | 445 IPC_STRUCT_MEMBER(base::string16, frame_unique_name) |
446 | 446 |
447 // Information regarding the security of the connection (empty if the | 447 // Information regarding the security of the connection (empty if the |
448 // connection was not secure). | 448 // connection was not secure). |
449 IPC_STRUCT_MEMBER(std::string, security_info) | 449 IPC_STRUCT_MEMBER(std::string, security_info) |
450 | 450 |
451 // The gesture that initiated this navigation. | 451 // The gesture that initiated this navigation. |
452 IPC_STRUCT_MEMBER(content::NavigationGesture, gesture) | 452 IPC_STRUCT_MEMBER(content::NavigationGesture, gesture) |
453 | 453 |
454 // True if this was a post request. | 454 // True if this was a post request. |
455 IPC_STRUCT_MEMBER(bool, is_post) | 455 IPC_STRUCT_MEMBER(bool, is_post) |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 // The ID of the main frame hosted in the view. | 728 // The ID of the main frame hosted in the view. |
729 IPC_STRUCT_MEMBER(int32, main_frame_routing_id) | 729 IPC_STRUCT_MEMBER(int32, main_frame_routing_id) |
730 | 730 |
731 // The ID of the rendering surface. | 731 // The ID of the rendering surface. |
732 IPC_STRUCT_MEMBER(int32, surface_id) | 732 IPC_STRUCT_MEMBER(int32, surface_id) |
733 | 733 |
734 // The session storage namespace ID this view should use. | 734 // The session storage namespace ID this view should use. |
735 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) | 735 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) |
736 | 736 |
737 // The name of the frame associated with this view (or empty if none). | 737 // The name of the frame associated with this view (or empty if none). |
738 IPC_STRUCT_MEMBER(string16, frame_name) | 738 IPC_STRUCT_MEMBER(base::string16, frame_name) |
739 | 739 |
740 // The route ID of the opener RenderView if we need to set one | 740 // The route ID of the opener RenderView if we need to set one |
741 // (MSG_ROUTING_NONE otherwise). | 741 // (MSG_ROUTING_NONE otherwise). |
742 IPC_STRUCT_MEMBER(int, opener_route_id) | 742 IPC_STRUCT_MEMBER(int, opener_route_id) |
743 | 743 |
744 // Whether the RenderView should initially be swapped out. | 744 // Whether the RenderView should initially be swapped out. |
745 IPC_STRUCT_MEMBER(bool, swapped_out) | 745 IPC_STRUCT_MEMBER(bool, swapped_out) |
746 | 746 |
747 // Whether the RenderView should initially be hidden. | 747 // Whether the RenderView should initially be hidden. |
748 IPC_STRUCT_MEMBER(bool, hidden) | 748 IPC_STRUCT_MEMBER(bool, hidden) |
(...skipping 10 matching lines...) Expand all Loading... |
759 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) | 759 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) |
760 | 760 |
761 // Specifies whether partially swapping composited buffers is | 761 // Specifies whether partially swapping composited buffers is |
762 // allowed for a renderer. Partial swaps will be used if they are both | 762 // allowed for a renderer. Partial swaps will be used if they are both |
763 // allowed and supported. | 763 // allowed and supported. |
764 IPC_STRUCT_MEMBER(bool, allow_partial_swap) | 764 IPC_STRUCT_MEMBER(bool, allow_partial_swap) |
765 IPC_STRUCT_END() | 765 IPC_STRUCT_END() |
766 | 766 |
767 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) | 767 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) |
768 // The serialized script value. | 768 // The serialized script value. |
769 IPC_STRUCT_MEMBER(string16, data) | 769 IPC_STRUCT_MEMBER(base::string16, data) |
770 | 770 |
771 // When sent to the browser, this is the routing ID of the source frame in | 771 // When sent to the browser, this is the routing ID of the source frame in |
772 // the source process. The browser replaces it with the routing ID of the | 772 // the source process. The browser replaces it with the routing ID of the |
773 // equivalent (swapped out) frame in the destination process. | 773 // equivalent (swapped out) frame in the destination process. |
774 IPC_STRUCT_MEMBER(int, source_routing_id) | 774 IPC_STRUCT_MEMBER(int, source_routing_id) |
775 | 775 |
776 // The origin of the source frame. | 776 // The origin of the source frame. |
777 IPC_STRUCT_MEMBER(string16, source_origin) | 777 IPC_STRUCT_MEMBER(base::string16, source_origin) |
778 | 778 |
779 // The origin for the message's target. | 779 // The origin for the message's target. |
780 IPC_STRUCT_MEMBER(string16, target_origin) | 780 IPC_STRUCT_MEMBER(base::string16, target_origin) |
781 | 781 |
782 // Information about the MessagePorts this message contains. | 782 // Information about the MessagePorts this message contains. |
783 IPC_STRUCT_MEMBER(std::vector<int>, message_port_ids) | 783 IPC_STRUCT_MEMBER(std::vector<int>, message_port_ids) |
784 IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids) | 784 IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids) |
785 IPC_STRUCT_END() | 785 IPC_STRUCT_END() |
786 | 786 |
787 // Messages sent from the browser to the renderer. | 787 // Messages sent from the browser to the renderer. |
788 | 788 |
789 // Tells the renderer to cancel an opened date/time dialog. | 789 // Tells the renderer to cancel an opened date/time dialog. |
790 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) | 790 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 IPC_MESSAGE_ROUTED1(ViewMsg_Navigate, ViewMsg_Navigate_Params) | 954 IPC_MESSAGE_ROUTED1(ViewMsg_Navigate, ViewMsg_Navigate_Params) |
955 | 955 |
956 IPC_MESSAGE_ROUTED0(ViewMsg_Stop) | 956 IPC_MESSAGE_ROUTED0(ViewMsg_Stop) |
957 | 957 |
958 // Tells the renderer to reload the current focused frame | 958 // Tells the renderer to reload the current focused frame |
959 IPC_MESSAGE_ROUTED0(ViewMsg_ReloadFrame) | 959 IPC_MESSAGE_ROUTED0(ViewMsg_ReloadFrame) |
960 | 960 |
961 // Sent when the user wants to search for a word on the page (find in page). | 961 // Sent when the user wants to search for a word on the page (find in page). |
962 IPC_MESSAGE_ROUTED3(ViewMsg_Find, | 962 IPC_MESSAGE_ROUTED3(ViewMsg_Find, |
963 int /* request_id */, | 963 int /* request_id */, |
964 string16 /* search_text */, | 964 base::string16 /* search_text */, |
965 blink::WebFindOptions) | 965 blink::WebFindOptions) |
966 | 966 |
967 // This message notifies the renderer that the user has closed the FindInPage | 967 // This message notifies the renderer that the user has closed the FindInPage |
968 // window (and what action to take regarding the selection). | 968 // window (and what action to take regarding the selection). |
969 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, | 969 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, |
970 content::StopFindAction /* action */) | 970 content::StopFindAction /* action */) |
971 | 971 |
972 // Informs the renderer about various statistics the browser has (e.g. | 972 // Informs the renderer about various statistics the browser has (e.g. |
973 // latency) regarding the frames that have been displayed. | 973 // latency) regarding the frames that have been displayed. |
974 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, | 974 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1013 // | 1013 // |
1014 // jscript_url is the string containing the javascript: url to be executed | 1014 // jscript_url is the string containing the javascript: url to be executed |
1015 // in the target frame's context. The string should start with "javascript:" | 1015 // in the target frame's context. The string should start with "javascript:" |
1016 // and continue with a valid JS text. | 1016 // and continue with a valid JS text. |
1017 // | 1017 // |
1018 // If the fourth parameter is true the result is sent back to the renderer | 1018 // If the fourth parameter is true the result is sent back to the renderer |
1019 // using the message ViewHostMsg_ScriptEvalResponse. | 1019 // using the message ViewHostMsg_ScriptEvalResponse. |
1020 // ViewHostMsg_ScriptEvalResponse is passed the ID parameter so that the | 1020 // ViewHostMsg_ScriptEvalResponse is passed the ID parameter so that the |
1021 // client can uniquely identify the request. | 1021 // client can uniquely identify the request. |
1022 IPC_MESSAGE_ROUTED4(ViewMsg_ScriptEvalRequest, | 1022 IPC_MESSAGE_ROUTED4(ViewMsg_ScriptEvalRequest, |
1023 string16, /* frame_xpath */ | 1023 base::string16, /* frame_xpath */ |
1024 string16, /* jscript_url */ | 1024 base::string16, /* jscript_url */ |
1025 int, /* ID */ | 1025 int, /* ID */ |
1026 bool /* If true, result is sent back. */) | 1026 bool /* If true, result is sent back. */) |
1027 | 1027 |
1028 // Posts a message from a frame in another process to the current renderer. | 1028 // Posts a message from a frame in another process to the current renderer. |
1029 IPC_MESSAGE_ROUTED1(ViewMsg_PostMessageEvent, | 1029 IPC_MESSAGE_ROUTED1(ViewMsg_PostMessageEvent, |
1030 ViewMsg_PostMessage_Params) | 1030 ViewMsg_PostMessage_Params) |
1031 | 1031 |
1032 // Requests that the RenderView's main frame sets its opener to null. | 1032 // Requests that the RenderView's main frame sets its opener to null. |
1033 IPC_MESSAGE_ROUTED0(ViewMsg_DisownOpener) | 1033 IPC_MESSAGE_ROUTED0(ViewMsg_DisownOpener) |
1034 | 1034 |
1035 // Request for the renderer to evaluate an xpath to a frame and insert css | 1035 // Request for the renderer to evaluate an xpath to a frame and insert css |
1036 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on | 1036 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on |
1037 // allowed xpath expressions. | 1037 // allowed xpath expressions. |
1038 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest, | 1038 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest, |
1039 string16, /* frame_xpath */ | 1039 base::string16, /* frame_xpath */ |
1040 std::string /* css string */) | 1040 std::string /* css string */) |
1041 | 1041 |
1042 // Change the zoom level for the current main frame. If the level actually | 1042 // Change the zoom level for the current main frame. If the level actually |
1043 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser | 1043 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser |
1044 // telling it what url got zoomed and what its current zoom level is. | 1044 // telling it what url got zoomed and what its current zoom level is. |
1045 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, | 1045 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, |
1046 content::PageZoom /* function */) | 1046 content::PageZoom /* function */) |
1047 | 1047 |
1048 // Set the zoom level for the current main frame. If the level actually | 1048 // Set the zoom level for the current main frame. If the level actually |
1049 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser | 1049 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1106 bool /* is_active */) | 1106 bool /* is_active */) |
1107 | 1107 |
1108 // IME API oncandidatewindow* events for InputMethodContext. | 1108 // IME API oncandidatewindow* events for InputMethodContext. |
1109 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowShown) | 1109 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowShown) |
1110 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowUpdated) | 1110 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowUpdated) |
1111 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowHidden) | 1111 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowHidden) |
1112 | 1112 |
1113 // This message sends a string being composed with an input method. | 1113 // This message sends a string being composed with an input method. |
1114 IPC_MESSAGE_ROUTED4( | 1114 IPC_MESSAGE_ROUTED4( |
1115 ViewMsg_ImeSetComposition, | 1115 ViewMsg_ImeSetComposition, |
1116 string16, /* text */ | 1116 base::string16, /* text */ |
1117 std::vector<blink::WebCompositionUnderline>, /* underlines */ | 1117 std::vector<blink::WebCompositionUnderline>, /* underlines */ |
1118 int, /* selectiont_start */ | 1118 int, /* selectiont_start */ |
1119 int /* selection_end */) | 1119 int /* selection_end */) |
1120 | 1120 |
1121 // This message confirms an ongoing composition. | 1121 // This message confirms an ongoing composition. |
1122 IPC_MESSAGE_ROUTED3(ViewMsg_ImeConfirmComposition, | 1122 IPC_MESSAGE_ROUTED3(ViewMsg_ImeConfirmComposition, |
1123 string16 /* text */, | 1123 base::string16 /* text */, |
1124 gfx::Range /* replacement_range */, | 1124 gfx::Range /* replacement_range */, |
1125 bool /* keep_selection */) | 1125 bool /* keep_selection */) |
1126 | 1126 |
1127 // Sets the text composition to be between the given start and end offsets | 1127 // Sets the text composition to be between the given start and end offsets |
1128 // in the currently focused editable field. | 1128 // in the currently focused editable field. |
1129 IPC_MESSAGE_ROUTED3(ViewMsg_SetCompositionFromExistingText, | 1129 IPC_MESSAGE_ROUTED3(ViewMsg_SetCompositionFromExistingText, |
1130 int /* start */, | 1130 int /* start */, |
1131 int /* end */, | 1131 int /* end */, |
1132 std::vector<blink::WebCompositionUnderline> /* underlines */) | 1132 std::vector<blink::WebCompositionUnderline> /* underlines */) |
1133 | 1133 |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1369 gfx::Rect /* window frame */, | 1369 gfx::Rect /* window frame */, |
1370 gfx::Rect /* content view frame */) | 1370 gfx::Rect /* content view frame */) |
1371 | 1371 |
1372 // Message sent from the browser to the renderer when the user starts or stops | 1372 // Message sent from the browser to the renderer when the user starts or stops |
1373 // resizing the view. | 1373 // resizing the view. |
1374 IPC_MESSAGE_ROUTED1(ViewMsg_SetInLiveResize, | 1374 IPC_MESSAGE_ROUTED1(ViewMsg_SetInLiveResize, |
1375 bool /* enable */) | 1375 bool /* enable */) |
1376 | 1376 |
1377 // Tell the renderer that plugin IME has completed. | 1377 // Tell the renderer that plugin IME has completed. |
1378 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, | 1378 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, |
1379 string16 /* text */, | 1379 base::string16 /* text */, |
1380 int /* plugin_id */) | 1380 int /* plugin_id */) |
1381 | 1381 |
1382 // External popup menus. | 1382 // External popup menus. |
1383 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 1383 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
1384 int /* selected index, -1 means no selection */) | 1384 int /* selected index, -1 means no selection */) |
1385 #endif | 1385 #endif |
1386 | 1386 |
1387 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. | 1387 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. |
1388 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, | 1388 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, |
1389 uint32 /* output_surface_id */, | 1389 uint32 /* output_surface_id */, |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1577 // Notifies the browser that a frame finished loading. | 1577 // Notifies the browser that a frame finished loading. |
1578 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidFinishLoad, | 1578 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidFinishLoad, |
1579 int64 /* frame_id */, | 1579 int64 /* frame_id */, |
1580 GURL /* validated_url */, | 1580 GURL /* validated_url */, |
1581 bool /* is_main_frame */) | 1581 bool /* is_main_frame */) |
1582 | 1582 |
1583 // Changes the title for the page in the UI when the page is navigated or the | 1583 // Changes the title for the page in the UI when the page is navigated or the |
1584 // title changes. | 1584 // title changes. |
1585 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle, | 1585 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle, |
1586 int32 /* page_id */, | 1586 int32 /* page_id */, |
1587 string16 /* title */, | 1587 base::string16 /* title */, |
1588 blink::WebTextDirection /* title direction */) | 1588 blink::WebTextDirection /* title direction */) |
1589 | 1589 |
1590 // Change the encoding name of the page in UI when the page has detected | 1590 // Change the encoding name of the page in UI when the page has detected |
1591 // proper encoding name. | 1591 // proper encoding name. |
1592 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, | 1592 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, |
1593 std::string /* new encoding name */) | 1593 std::string /* new encoding name */) |
1594 | 1594 |
1595 // Notifies the browser that we want to show a destination url for a potential | 1595 // Notifies the browser that we want to show a destination url for a potential |
1596 // action (e.g. when the user is hovering over a link). | 1596 // action (e.g. when the user is hovering over a link). |
1597 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, | 1597 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1642 // Sent when the renderer runs insecure content in a secure origin. | 1642 // Sent when the renderer runs insecure content in a secure origin. |
1643 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, | 1643 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, |
1644 std::string /* security_origin */, | 1644 std::string /* security_origin */, |
1645 GURL /* target URL */) | 1645 GURL /* target URL */) |
1646 | 1646 |
1647 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailLoadWithError, | 1647 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailLoadWithError, |
1648 int64 /* frame_id */, | 1648 int64 /* frame_id */, |
1649 GURL /* validated_url */, | 1649 GURL /* validated_url */, |
1650 bool /* is_main_frame */, | 1650 bool /* is_main_frame */, |
1651 int /* error_code */, | 1651 int /* error_code */, |
1652 string16 /* error_description */) | 1652 base::string16 /* error_description */) |
1653 | 1653 |
1654 // Sent when the renderer fails a provisional load with an error. | 1654 // Sent when the renderer fails a provisional load with an error. |
1655 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFailProvisionalLoadWithError, | 1655 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFailProvisionalLoadWithError, |
1656 ViewHostMsg_DidFailProvisionalLoadWithError_Params) | 1656 ViewHostMsg_DidFailProvisionalLoadWithError_Params) |
1657 | 1657 |
1658 // Tells the render view that a ViewHostMsg_PaintAtSize message was | 1658 // Tells the render view that a ViewHostMsg_PaintAtSize message was |
1659 // processed, and the DIB is ready for use. |tag| has the same value that | 1659 // processed, and the DIB is ready for use. |tag| has the same value that |
1660 // the tag sent along with ViewMsg_PaintAtSize. | 1660 // the tag sent along with ViewMsg_PaintAtSize. |
1661 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK, | 1661 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK, |
1662 int /* tag */, | 1662 int /* tag */, |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1804 // Tells the browser that a specific Appcache manifest in the current page | 1804 // Tells the browser that a specific Appcache manifest in the current page |
1805 // was accessed. | 1805 // was accessed. |
1806 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, | 1806 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, |
1807 GURL /* manifest url */, | 1807 GURL /* manifest url */, |
1808 bool /* blocked by policy */) | 1808 bool /* blocked by policy */) |
1809 | 1809 |
1810 // Initiates a download based on user actions like 'ALT+click'. | 1810 // Initiates a download based on user actions like 'ALT+click'. |
1811 IPC_MESSAGE_ROUTED3(ViewHostMsg_DownloadUrl, | 1811 IPC_MESSAGE_ROUTED3(ViewHostMsg_DownloadUrl, |
1812 GURL /* url */, | 1812 GURL /* url */, |
1813 content::Referrer /* referrer */, | 1813 content::Referrer /* referrer */, |
1814 string16 /* suggested_name */) | 1814 base::string16 /* suggested_name */) |
1815 | 1815 |
1816 // Used to go to the session history entry at the given offset (ie, -1 will | 1816 // Used to go to the session history entry at the given offset (ie, -1 will |
1817 // return the "back" item). | 1817 // return the "back" item). |
1818 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, | 1818 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, |
1819 int /* offset (from current) of history item to get */) | 1819 int /* offset (from current) of history item to get */) |
1820 | 1820 |
1821 // Sent from an inactive renderer for the browser to route to the active | 1821 // Sent from an inactive renderer for the browser to route to the active |
1822 // renderer, instructing it to close. | 1822 // renderer, instructing it to close. |
1823 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) | 1823 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) |
1824 | 1824 |
1825 // Sent to the browser from an inactive renderer to post a message to the | 1825 // Sent to the browser from an inactive renderer to post a message to the |
1826 // active renderer. | 1826 // active renderer. |
1827 IPC_MESSAGE_ROUTED1(ViewHostMsg_RouteMessageEvent, | 1827 IPC_MESSAGE_ROUTED1(ViewHostMsg_RouteMessageEvent, |
1828 ViewMsg_PostMessage_Params) | 1828 ViewMsg_PostMessage_Params) |
1829 | 1829 |
1830 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage, | 1830 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage, |
1831 string16 /* in - alert message */, | 1831 base::string16 /* in - alert message */, |
1832 string16 /* in - default prompt */, | 1832 base::string16 /* in - default prompt */, |
1833 GURL /* in - originating page URL */, | 1833 GURL /* in - originating page URL */, |
1834 content::JavaScriptMessageType /* in - type */, | 1834 content::JavaScriptMessageType /* in - type */, |
1835 bool /* out - success */, | 1835 bool /* out - success */, |
1836 string16 /* out - user_input field */) | 1836 base::string16 /* out - user_input field */) |
1837 | 1837 |
1838 // Requests that the given URL be opened in the specified manner. | 1838 // Requests that the given URL be opened in the specified manner. |
1839 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenURL, ViewHostMsg_OpenURL_Params) | 1839 IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenURL, ViewHostMsg_OpenURL_Params) |
1840 | 1840 |
1841 // Notifies that the preferred size of the content changed. | 1841 // Notifies that the preferred size of the content changed. |
1842 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, | 1842 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, |
1843 gfx::Size /* pref_size */) | 1843 gfx::Size /* pref_size */) |
1844 | 1844 |
1845 // Notifies that the scroll offset changed. | 1845 // Notifies that the scroll offset changed. |
1846 // This is different from ViewHostMsg_UpdateRect in that ViewHostMsg_UpdateRect | 1846 // This is different from ViewHostMsg_UpdateRect in that ViewHostMsg_UpdateRect |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1955 | 1955 |
1956 // Destroy a plugin container previously created using CreatePluginContainer. | 1956 // Destroy a plugin container previously created using CreatePluginContainer. |
1957 // id is the XID of the plugin window corresponding to the container that is | 1957 // id is the XID of the plugin window corresponding to the container that is |
1958 // to be destroyed. | 1958 // to be destroyed. |
1959 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, | 1959 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, |
1960 gfx::PluginWindowHandle /* id */) | 1960 gfx::PluginWindowHandle /* id */) |
1961 #endif | 1961 #endif |
1962 | 1962 |
1963 // Send the tooltip text for the current mouse position to the browser. | 1963 // Send the tooltip text for the current mouse position to the browser. |
1964 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, | 1964 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
1965 string16 /* tooltip text string */, | 1965 base::string16 /* tooltip text string */, |
1966 blink::WebTextDirection /* text direction hint */) | 1966 blink::WebTextDirection /* text direction hint */) |
1967 | 1967 |
1968 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK) | 1968 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK) |
1969 IPC_MESSAGE_ROUTED0(ViewHostMsg_MoveCaret_ACK) | 1969 IPC_MESSAGE_ROUTED0(ViewHostMsg_MoveCaret_ACK) |
1970 | 1970 |
1971 // Notification that the text selection has changed. | 1971 // Notification that the text selection has changed. |
1972 // Note: The secound parameter is the character based offset of the string16 | 1972 // Note: The secound parameter is the character based offset of the string16 |
1973 // text in the document. | 1973 // text in the document. |
1974 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1974 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
1975 string16 /* text covers the selection range */, | 1975 base::string16 /* text covers the selection range */, |
1976 size_t /* the offset of the text in the document */, | 1976 size_t /* the offset of the text in the document */, |
1977 gfx::Range /* selection range in the document */) | 1977 gfx::Range /* selection range in the document */) |
1978 | 1978 |
1979 // Notification that the selection bounds have changed. | 1979 // Notification that the selection bounds have changed. |
1980 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, | 1980 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, |
1981 ViewHostMsg_SelectionBounds_Params) | 1981 ViewHostMsg_SelectionBounds_Params) |
1982 | 1982 |
1983 // Asks the browser to open the color chooser. | 1983 // Asks the browser to open the color chooser. |
1984 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenColorChooser, | 1984 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenColorChooser, |
1985 int /* id */, | 1985 int /* id */, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2025 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, | 2025 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, |
2026 ViewHostMsg_TextInputState_Params /* input state params */) | 2026 ViewHostMsg_TextInputState_Params /* input state params */) |
2027 | 2027 |
2028 // Required for cancelling an ongoing input method composition. | 2028 // Required for cancelling an ongoing input method composition. |
2029 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) | 2029 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) |
2030 | 2030 |
2031 // WebKit and JavaScript error messages to log to the console | 2031 // WebKit and JavaScript error messages to log to the console |
2032 // or debugger UI. | 2032 // or debugger UI. |
2033 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, | 2033 IPC_MESSAGE_ROUTED4(ViewHostMsg_AddMessageToConsole, |
2034 int32, /* log level */ | 2034 int32, /* log level */ |
2035 string16, /* msg */ | 2035 base::string16, /* msg */ |
2036 int32, /* line number */ | 2036 int32, /* line number */ |
2037 string16 /* source id */ ) | 2037 base::string16 /* source id */ ) |
2038 | 2038 |
2039 // Sent by the renderer process to indicate that a plugin instance has crashed. | 2039 // Sent by the renderer process to indicate that a plugin instance has crashed. |
2040 // Note: |plugin_pid| should not be trusted. The corresponding process has | 2040 // Note: |plugin_pid| should not be trusted. The corresponding process has |
2041 // probably died. Moreover, the ID may have been reused by a new process. Any | 2041 // probably died. Moreover, the ID may have been reused by a new process. Any |
2042 // usage other than displaying it in a prompt to the user is very likely to be | 2042 // usage other than displaying it in a prompt to the user is very likely to be |
2043 // wrong. | 2043 // wrong. |
2044 IPC_MESSAGE_ROUTED2(ViewHostMsg_CrashedPlugin, | 2044 IPC_MESSAGE_ROUTED2(ViewHostMsg_CrashedPlugin, |
2045 base::FilePath /* plugin_path */, | 2045 base::FilePath /* plugin_path */, |
2046 base::ProcessId /* plugin_pid */) | 2046 base::ProcessId /* plugin_pid */) |
2047 | 2047 |
2048 // Displays a box to confirm that the user wants to navigate away from the | 2048 // Displays a box to confirm that the user wants to navigate away from the |
2049 // page. Replies true if yes, false otherwise, the reply string is ignored, | 2049 // page. Replies true if yes, false otherwise, the reply string is ignored, |
2050 // but is included so that we can use OnJavaScriptMessageBoxClosed. | 2050 // but is included so that we can use OnJavaScriptMessageBoxClosed. |
2051 IPC_SYNC_MESSAGE_ROUTED3_2(ViewHostMsg_RunBeforeUnloadConfirm, | 2051 IPC_SYNC_MESSAGE_ROUTED3_2(ViewHostMsg_RunBeforeUnloadConfirm, |
2052 GURL, /* in - originating frame URL */ | 2052 GURL, /* in - originating frame URL */ |
2053 string16 /* in - alert message */, | 2053 base::string16 /* in - alert message */, |
2054 bool /* in - is a reload */, | 2054 bool /* in - is a reload */, |
2055 bool /* out - success */, | 2055 bool /* out - success */, |
2056 string16 /* out - This is ignored.*/) | 2056 base::string16 /* out - This is ignored.*/) |
2057 | 2057 |
2058 // Sent when a provisional load on the main frame redirects. | 2058 // Sent when a provisional load on the main frame redirects. |
2059 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad, | 2059 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad, |
2060 int /* page_id */, | 2060 int /* page_id */, |
2061 GURL /* last url */, | 2061 GURL /* last url */, |
2062 GURL /* url redirected to */) | 2062 GURL /* url redirected to */) |
2063 | 2063 |
2064 // Sent when the renderer changes the zoom level for a particular url, so the | 2064 // Sent when the renderer changes the zoom level for a particular url, so the |
2065 // browser can update its records. If remember is true, then url is used to | 2065 // browser can update its records. If remember is true, then url is used to |
2066 // update the zoom level for all pages in that site. Otherwise, the render | 2066 // update the zoom level for all pages in that site. Otherwise, the render |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2145 double /* expected_response_time */, | 2145 double /* expected_response_time */, |
2146 std::vector<char> /* data */) | 2146 std::vector<char> /* data */) |
2147 | 2147 |
2148 // Displays a JavaScript out-of-memory message in the infobar. | 2148 // Displays a JavaScript out-of-memory message in the infobar. |
2149 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) | 2149 IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) |
2150 | 2150 |
2151 // Register a new handler for URL requests with the given scheme. | 2151 // Register a new handler for URL requests with the given scheme. |
2152 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, | 2152 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, |
2153 std::string /* scheme */, | 2153 std::string /* scheme */, |
2154 GURL /* url */, | 2154 GURL /* url */, |
2155 string16 /* title */, | 2155 base::string16 /* title */, |
2156 bool /* user_gesture */) | 2156 bool /* user_gesture */) |
2157 | 2157 |
2158 // Stores new inspector setting in the profile. | 2158 // Stores new inspector setting in the profile. |
2159 // TODO(jam): this should be in the chrome module | 2159 // TODO(jam): this should be in the chrome module |
2160 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, | 2160 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, |
2161 std::string, /* key */ | 2161 std::string, /* key */ |
2162 std::string /* value */) | 2162 std::string /* value */) |
2163 | 2163 |
2164 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 2164 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
2165 // See the comment in chrome/browser/ui/browser.h for more details. | 2165 // See the comment in chrome/browser/ui/browser.h for more details. |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2336 | 2336 |
2337 // Instructs the browser to start plugin IME. | 2337 // Instructs the browser to start plugin IME. |
2338 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 2338 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
2339 | 2339 |
2340 #elif defined(OS_WIN) | 2340 #elif defined(OS_WIN) |
2341 // Request that the given font characters be loaded by the browser so it's | 2341 // Request that the given font characters be loaded by the browser so it's |
2342 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2342 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
2343 // for details. | 2343 // for details. |
2344 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2344 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
2345 LOGFONT /* font_data */, | 2345 LOGFONT /* font_data */, |
2346 string16 /* characters */) | 2346 base::string16 /* characters */) |
2347 #endif | 2347 #endif |
2348 | 2348 |
2349 #if defined(OS_POSIX) | 2349 #if defined(OS_POSIX) |
2350 // On POSIX, we cannot allocated shared memory from within the sandbox, so | 2350 // On POSIX, we cannot allocated shared memory from within the sandbox, so |
2351 // this call exists for the renderer to ask the browser to allocate memory | 2351 // this call exists for the renderer to ask the browser to allocate memory |
2352 // on its behalf. We return a file descriptor to the POSIX shared memory. | 2352 // on its behalf. We return a file descriptor to the POSIX shared memory. |
2353 // If the |cache_in_browser| flag is |true|, then a copy of the shmem is kept | 2353 // If the |cache_in_browser| flag is |true|, then a copy of the shmem is kept |
2354 // by the browser, and it is the caller's repsonsibility to send a | 2354 // by the browser, and it is the caller's repsonsibility to send a |
2355 // ViewHostMsg_FreeTransportDIB message in order to release the cached shmem. | 2355 // ViewHostMsg_FreeTransportDIB message in order to release the cached shmem. |
2356 // In all cases, the caller is responsible for deleting the resulting | 2356 // In all cases, the caller is responsible for deleting the resulting |
(...skipping 15 matching lines...) Expand all Loading... |
2372 // synchronously (see crbug.com/120597). This IPC message sends the character | 2372 // synchronously (see crbug.com/120597). This IPC message sends the character |
2373 // bounds after every composition change to always have correct bound info. | 2373 // bounds after every composition change to always have correct bound info. |
2374 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2374 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2375 gfx::Range /* composition range */, | 2375 gfx::Range /* composition range */, |
2376 std::vector<gfx::Rect> /* character bounds */) | 2376 std::vector<gfx::Rect> /* character bounds */) |
2377 #endif | 2377 #endif |
2378 | 2378 |
2379 // Adding a new message? Stick to the sort order above: first platform | 2379 // Adding a new message? Stick to the sort order above: first platform |
2380 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2380 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2381 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2381 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |