| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 int /* back_list_count */, | 382 int /* back_list_count */, |
| 383 int /* forward_list_count */) | 383 int /* forward_list_count */) |
| 384 | 384 |
| 385 // Retreive information from the MSAA DOM subtree, for accessibility purposes. | 385 // Retreive information from the MSAA DOM subtree, for accessibility purposes. |
| 386 IPC_SYNC_MESSAGE_ROUTED1_1(ViewMsg_GetAccessibilityInfo, | 386 IPC_SYNC_MESSAGE_ROUTED1_1(ViewMsg_GetAccessibilityInfo, |
| 387 ViewMsg_Accessibility_In_Params | 387 ViewMsg_Accessibility_In_Params |
| 388 /* input parameters */, | 388 /* input parameters */, |
| 389 ViewHostMsg_Accessibility_Out_Params | 389 ViewHostMsg_Accessibility_Out_Params |
| 390 /* output parameters */) | 390 /* output parameters */) |
| 391 | 391 |
| 392 // Requests the renderer to clear cashed accessibility information. Takes an | 392 // Requests the renderer to clear cashed accessibility information. Takes an |
| 393 // id to clear a specific hashmap entry, and a bool; true clears all, false | 393 // id to clear a specific hashmap entry, and a bool; true clears all, false |
| 394 // does not. | 394 // does not. |
| 395 IPC_MESSAGE_ROUTED2(ViewMsg_ClearAccessibilityInfo, | 395 IPC_MESSAGE_ROUTED2(ViewMsg_ClearAccessibilityInfo, |
| 396 int /* iaccessible_id */, | 396 int /* iaccessible_id */, |
| 397 bool /* clear_all */) | 397 bool /* clear_all */) |
| 398 | 398 |
| 399 // Get all savable resource links from current webpage, include main | 399 // Get all savable resource links from current webpage, include main |
| 400 // frame and sub-frame. | 400 // frame and sub-frame. |
| 401 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage, | 401 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage, |
| 402 GURL /* url of page which is needed to save */) | 402 GURL /* url of page which is needed to save */) |
| 403 | 403 |
| 404 // Get html data by serializing all frames of current page with lists | 404 // Get html data by serializing all frames of current page with lists |
| 405 // which contain all resource links that have local copy. | 405 // which contain all resource links that have local copy. |
| 406 IPC_MESSAGE_ROUTED3(ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks, | 406 IPC_MESSAGE_ROUTED3(ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks, |
| 407 std::vector<std::wstring> /* urls which have local copy */
, | 407 std::vector<std::wstring> /* urls that have local copy */, |
| 408 std::vector<std::wstring> /* paths of local copy */, | 408 std::vector<std::wstring> /* paths of local copy */, |
| 409 std::wstring /* local directory path */) | 409 std::wstring /* local directory path */) |
| 410 | 410 |
| 411 // Requests application info for the page. The renderer responds back with | 411 // Requests application info for the page. The renderer responds back with |
| 412 // ViewHostMsg_DidGetApplicationInfo. | 412 // ViewHostMsg_DidGetApplicationInfo. |
| 413 IPC_MESSAGE_ROUTED1(ViewMsg_GetApplicationInfo, int32 /*page_id*/) | 413 IPC_MESSAGE_ROUTED1(ViewMsg_GetApplicationInfo, int32 /*page_id*/) |
| 414 | 414 |
| 415 // Requests the renderer to download the specified image encode it as PNG | 415 // Requests the renderer to download the specified image encode it as PNG |
| 416 // and send the PNG data back ala ViewHostMsg_DidDownloadImage. | 416 // and send the PNG data back ala ViewHostMsg_DidDownloadImage. |
| 417 IPC_MESSAGE_ROUTED3(ViewMsg_DownloadImage, | 417 IPC_MESSAGE_ROUTED3(ViewMsg_DownloadImage, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 443 | 443 |
| 444 // Notifies the renderer about ui theme changes | 444 // Notifies the renderer about ui theme changes |
| 445 IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged) | 445 IPC_MESSAGE_ROUTED0(ViewMsg_ThemeChanged) |
| 446 | 446 |
| 447 // Notifies the renderer that a paint is to be generated for the rectangle | 447 // Notifies the renderer that a paint is to be generated for the rectangle |
| 448 // passed in. | 448 // passed in. |
| 449 IPC_MESSAGE_ROUTED1(ViewMsg_Repaint, | 449 IPC_MESSAGE_ROUTED1(ViewMsg_Repaint, |
| 450 gfx::Size /* The view size to be repainted */) | 450 gfx::Size /* The view size to be repainted */) |
| 451 | 451 |
| 452 #ifdef CHROME_PERSONALIZATION | 452 #ifdef CHROME_PERSONALIZATION |
| 453 IPC_MESSAGE_ROUTED2(ViewMsg_PersonalizationEvent, | 453 IPC_MESSAGE_ROUTED2(ViewMsg_PersonalizationEvent, |
| 454 std::string /* event name */, | 454 std::string /* event name */, |
| 455 std::string /* event arguments */) | 455 std::string /* event arguments */) |
| 456 #endif | 456 #endif |
| 457 // Posts a message to the renderer. | 457 // Posts a message to the renderer. |
| 458 IPC_MESSAGE_ROUTED2(ViewMsg_HandleMessageFromExternalHost, | 458 IPC_MESSAGE_ROUTED2(ViewMsg_HandleMessageFromExternalHost, |
| 459 std::string /* The target for the message */, | 459 std::string /* The target for the message */, |
| 460 std::string /* The message */) | 460 std::string /* The message */) |
| 461 | 461 |
| 462 // Sent to the renderer when a popup window should no longer count against | 462 // Sent to the renderer when a popup window should no longer count against |
| 463 // the current popup count (either because it's not a popup or because it was | 463 // the current popup count (either because it's not a popup or because it was |
| 464 // a generated by a user action or because a constrained popup got turned | 464 // a generated by a user action or because a constrained popup got turned |
| 465 // into a full window). | 465 // into a full window). |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 // page_id: unique ID that allows us to distinguish between history entries. | 569 // page_id: unique ID that allows us to distinguish between history entries. |
| 570 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, | 570 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, |
| 571 int32 /* page_id */, | 571 int32 /* page_id */, |
| 572 std::string /* state */) | 572 std::string /* state */) |
| 573 | 573 |
| 574 // Changes the title for the page in the UI when the page is navigated or the | 574 // Changes the title for the page in the UI when the page is navigated or the |
| 575 // title changes. | 575 // title changes. |
| 576 // TODO(darin): use a UTF-8 string to reduce data size | 576 // TODO(darin): use a UTF-8 string to reduce data size |
| 577 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) | 577 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) |
| 578 | 578 |
| 579 // Change the encoding name of the page in UI when the page has detected prope
r | 579 // Change the encoding name of the page in UI when the page has detected |
| 580 // encoding name. | 580 // proper encoding name. |
| 581 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, | 581 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, |
| 582 std::wstring /* new encoding name */) | 582 std::wstring /* new encoding name */) |
| 583 | 583 |
| 584 // Notifies the browser that we want to show a destination url for a potential | 584 // Notifies the browser that we want to show a destination url for a potential |
| 585 // action (e.g. when the user is hovering over a link). | 585 // action (e.g. when the user is hovering over a link). |
| 586 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, int32, GURL) | 586 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, int32, GURL) |
| 587 | 587 |
| 588 // Sent when the renderer is loading a frame | 588 // Sent when the renderer is loading a frame |
| 589 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidStartLoading, int32) | 589 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidStartLoading, int32) |
| 590 | 590 |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1096 gfx::Rect /* Out: Window location */) | 1096 gfx::Rect /* Out: Window location */) |
| 1097 | 1097 |
| 1098 // Queries the browser for suggestion for autofill in a form input field. | 1098 // Queries the browser for suggestion for autofill in a form input field. |
| 1099 IPC_MESSAGE_ROUTED4(ViewHostMsg_QueryFormFieldAutofill, | 1099 IPC_MESSAGE_ROUTED4(ViewHostMsg_QueryFormFieldAutofill, |
| 1100 std::wstring /* field name */, | 1100 std::wstring /* field name */, |
| 1101 std::wstring /* user entered text */, | 1101 std::wstring /* user entered text */, |
| 1102 int64 /* id of the text input field */, | 1102 int64 /* id of the text input field */, |
| 1103 int /* id of this message */) | 1103 int /* id of this message */) |
| 1104 | 1104 |
| 1105 IPC_END_MESSAGES(ViewHost) | 1105 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |