OLD | NEW |
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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 // pages containing plugins. | 505 // pages containing plugins. |
506 IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache, | 506 IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache, |
507 bool /* reload_pages */) | 507 bool /* reload_pages */) |
508 | 508 |
509 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, | 509 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, |
510 std::vector<FilePath> /* selected files */) | 510 std::vector<FilePath> /* selected files */) |
511 | 511 |
512 // Used to instruct the RenderView to go into "view source" mode. | 512 // Used to instruct the RenderView to go into "view source" mode. |
513 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) | 513 IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) |
514 | 514 |
| 515 // Retreive information from the MSAA DOM subtree, for accessibility purposes. |
| 516 IPC_SYNC_MESSAGE_ROUTED1_1(ViewMsg_GetAccessibilityInfo, |
| 517 webkit_glue::WebAccessibility::InParams |
| 518 /* input parameters */, |
| 519 webkit_glue::WebAccessibility::OutParams |
| 520 /* output parameters */) |
| 521 |
| 522 // Requests the renderer to clear cashed accessibility information. Takes an |
| 523 // id to clear a specific hashmap entry, and a bool; true clears all, false |
| 524 // does not. |
| 525 IPC_MESSAGE_ROUTED2(ViewMsg_ClearAccessibilityInfo, |
| 526 int /* accessibility object id */, |
| 527 bool /* clear_all */) |
| 528 |
515 // Get all savable resource links from current webpage, include main | 529 // Get all savable resource links from current webpage, include main |
516 // frame and sub-frame. | 530 // frame and sub-frame. |
517 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage, | 531 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage, |
518 GURL /* url of page which is needed to save */) | 532 GURL /* url of page which is needed to save */) |
519 | 533 |
520 // Get html data by serializing all frames of current page with lists | 534 // Get html data by serializing all frames of current page with lists |
521 // which contain all resource links that have local copy. | 535 // which contain all resource links that have local copy. |
522 IPC_MESSAGE_ROUTED3(ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks, | 536 IPC_MESSAGE_ROUTED3(ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks, |
523 std::vector<GURL> /* urls that have local copy */, | 537 std::vector<GURL> /* urls that have local copy */, |
524 std::vector<FilePath> /* paths of local copy */, | 538 std::vector<FilePath> /* paths of local copy */, |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 std::string /* message */) | 936 std::string /* message */) |
923 | 937 |
924 // Sent on process startup to indicate whether this process is running in | 938 // Sent on process startup to indicate whether this process is running in |
925 // incognito mode. | 939 // incognito mode. |
926 IPC_MESSAGE_CONTROL1(ViewMsg_SetIsIncognitoProcess, | 940 IPC_MESSAGE_CONTROL1(ViewMsg_SetIsIncognitoProcess, |
927 bool /* is_incognito_processs */) | 941 bool /* is_incognito_processs */) |
928 | 942 |
929 // Notification that the list of extensions with web extents has been updated. | 943 // Notification that the list of extensions with web extents has been updated. |
930 IPC_MESSAGE_CONTROL1(ViewMsg_ExtensionExtentsUpdated, | 944 IPC_MESSAGE_CONTROL1(ViewMsg_ExtensionExtentsUpdated, |
931 ViewMsg_ExtensionExtentsUpdated_Params) | 945 ViewMsg_ExtensionExtentsUpdated_Params) |
932 | |
933 // Request a tree of Accessibility data from the render process. | |
934 IPC_MESSAGE_ROUTED0(ViewMsg_GetAccessibilityTree) | |
935 IPC_END_MESSAGES(View) | 946 IPC_END_MESSAGES(View) |
936 | 947 |
937 | 948 |
938 //----------------------------------------------------------------------------- | 949 //----------------------------------------------------------------------------- |
939 // TabContents messages | 950 // TabContents messages |
940 // These are messages sent from the renderer to the browser process. | 951 // These are messages sent from the renderer to the browser process. |
941 | 952 |
942 IPC_BEGIN_MESSAGES(ViewHost) | 953 IPC_BEGIN_MESSAGES(ViewHost) |
943 // Sent by the renderer when it is creating a new window. The browser creates | 954 // Sent by the renderer when it is creating a new window. The browser creates |
944 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 955 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
(...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2321 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Suspend, | 2332 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Suspend, |
2322 int /* render_view_id */, | 2333 int /* render_view_id */, |
2323 int /* bridge_id */) | 2334 int /* bridge_id */) |
2324 | 2335 |
2325 // The |render_view_id| and |bridge_id| requests Geolocation service to | 2336 // The |render_view_id| and |bridge_id| requests Geolocation service to |
2326 // resume. | 2337 // resume. |
2327 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, | 2338 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, |
2328 int /* render_view_id */, | 2339 int /* render_view_id */, |
2329 int /* bridge_id */) | 2340 int /* bridge_id */) |
2330 | 2341 |
2331 // Send the tree of accessibility data to the browser, where it's cached | |
2332 // in order to respond to OS accessibility queries immediately. | |
2333 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, | |
2334 webkit_glue::WebAccessibility) | |
2335 | |
2336 IPC_END_MESSAGES(ViewHost) | 2342 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |