| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 | 586 |
| 587 // Notifies the renderer of an AppCache event. | 587 // Notifies the renderer of an AppCache event. |
| 588 IPC_MESSAGE_CONTROL2(AppCacheMsg_EventRaised, | 588 IPC_MESSAGE_CONTROL2(AppCacheMsg_EventRaised, |
| 589 std::vector<int> /* host_ids */, | 589 std::vector<int> /* host_ids */, |
| 590 appcache::EventID) | 590 appcache::EventID) |
| 591 | 591 |
| 592 // Reply to the ViewHostMsg_QueryFormFieldAutofill message with the autofill | 592 // Reply to the ViewHostMsg_QueryFormFieldAutofill message with the autofill |
| 593 // suggestions. | 593 // suggestions. |
| 594 IPC_MESSAGE_ROUTED3(ViewMsg_QueryFormFieldAutofill_ACK, | 594 IPC_MESSAGE_ROUTED3(ViewMsg_QueryFormFieldAutofill_ACK, |
| 595 int /* id of the request message */, | 595 int /* id of the request message */, |
| 596 std::vector<std::wstring> /* suggestions */, | 596 std::vector<string16> /* suggestions */, |
| 597 int /* index of default suggestion */) | 597 int /* index of default suggestion */) |
| 598 | 598 |
| 599 // Sent by the Browser process to alert a window about whether a blocked | 599 // Sent by the Browser process to alert a window about whether a blocked |
| 600 // popup notification is visible. The renderer assumes every new window is a | 600 // popup notification is visible. The renderer assumes every new window is a |
| 601 // blocked popup until notified otherwise. | 601 // blocked popup until notified otherwise. |
| 602 IPC_MESSAGE_ROUTED1(ViewMsg_PopupNotificationVisibilityChanged, | 602 IPC_MESSAGE_ROUTED1(ViewMsg_PopupNotificationVisibilityChanged, |
| 603 bool /* Whether it is visible */) | 603 bool /* Whether it is visible */) |
| 604 | 604 |
| 605 // Sent by AudioRendererHost to renderer to request an audio packet. | 605 // Sent by AudioRendererHost to renderer to request an audio packet. |
| 606 IPC_MESSAGE_ROUTED3(ViewMsg_RequestAudioPacket, | 606 IPC_MESSAGE_ROUTED3(ViewMsg_RequestAudioPacket, |
| (...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1597 | 1597 |
| 1598 // Returns the resizer box location in the window this widget is embeded. | 1598 // Returns the resizer box location in the window this widget is embeded. |
| 1599 // Important for Mac OS X, but not Win or Linux. | 1599 // Important for Mac OS X, but not Win or Linux. |
| 1600 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowResizerRect, | 1600 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetRootWindowResizerRect, |
| 1601 gfx::NativeViewId /* window */, | 1601 gfx::NativeViewId /* window */, |
| 1602 gfx::Rect /* Out: Window location */) | 1602 gfx::Rect /* Out: Window location */) |
| 1603 | 1603 |
| 1604 // Queries the browser for suggestion for autofill in a form input field. | 1604 // Queries the browser for suggestion for autofill in a form input field. |
| 1605 IPC_MESSAGE_ROUTED3(ViewHostMsg_QueryFormFieldAutofill, | 1605 IPC_MESSAGE_ROUTED3(ViewHostMsg_QueryFormFieldAutofill, |
| 1606 int /* id of this message */, | 1606 int /* id of this message */, |
| 1607 std::wstring /* field name */, | 1607 string16 /* field name */, |
| 1608 std::wstring /* user entered text */) | 1608 string16 /* user entered text */) |
| 1609 | 1609 |
| 1610 // Instructs the browser to remove the specified autofill-entry from the | 1610 // Instructs the browser to remove the specified autofill-entry from the |
| 1611 // database. | 1611 // database. |
| 1612 IPC_MESSAGE_ROUTED2(ViewHostMsg_RemoveAutofillEntry, | 1612 IPC_MESSAGE_ROUTED2(ViewHostMsg_RemoveAutofillEntry, |
| 1613 std::wstring /* field name */, | 1613 string16 /* field name */, |
| 1614 std::wstring /* value */) | 1614 string16 /* value */) |
| 1615 | 1615 |
| 1616 // Get the list of proxies to use for |url|, as a semicolon delimited list | 1616 // Get the list of proxies to use for |url|, as a semicolon delimited list |
| 1617 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also | 1617 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also |
| 1618 // PluginProcessHostMsg_ResolveProxy which does the same thing. | 1618 // PluginProcessHostMsg_ResolveProxy which does the same thing. |
| 1619 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, | 1619 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, |
| 1620 GURL /* url */, | 1620 GURL /* url */, |
| 1621 int /* network error */, | 1621 int /* network error */, |
| 1622 std::string /* proxy list */) | 1622 std::string /* proxy list */) |
| 1623 | 1623 |
| 1624 // Request that got sent to browser for creating an audio output stream | 1624 // Request that got sent to browser for creating an audio output stream |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1920 int /* socket_id */, | 1920 int /* socket_id */, |
| 1921 std::vector<char> /* data */) | 1921 std::vector<char> /* data */) |
| 1922 | 1922 |
| 1923 // Request to close the Socket Stream. | 1923 // Request to close the Socket Stream. |
| 1924 // The browser will send ViewMsg_SocketStream_Closed back when the Socket | 1924 // The browser will send ViewMsg_SocketStream_Closed back when the Socket |
| 1925 // Stream is completely closed. | 1925 // Stream is completely closed. |
| 1926 IPC_MESSAGE_CONTROL1(ViewHostMsg_SocketStream_Close, | 1926 IPC_MESSAGE_CONTROL1(ViewHostMsg_SocketStream_Close, |
| 1927 int /* socket_id */) | 1927 int /* socket_id */) |
| 1928 | 1928 |
| 1929 IPC_END_MESSAGES(ViewHost) | 1929 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |