| 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/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 1590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1601 IPC_MESSAGE_ROUTED3(ViewHostMsg_DownloadUrl, | 1601 IPC_MESSAGE_ROUTED3(ViewHostMsg_DownloadUrl, |
| 1602 GURL /* url */, | 1602 GURL /* url */, |
| 1603 GURL /* referrer */, | 1603 GURL /* referrer */, |
| 1604 string16 /* suggested_name */) | 1604 string16 /* suggested_name */) |
| 1605 | 1605 |
| 1606 // Used to go to the session history entry at the given offset (ie, -1 will | 1606 // Used to go to the session history entry at the given offset (ie, -1 will |
| 1607 // return the "back" item). | 1607 // return the "back" item). |
| 1608 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, | 1608 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, |
| 1609 int /* offset (from current) of history item to get */) | 1609 int /* offset (from current) of history item to get */) |
| 1610 | 1610 |
| 1611 // Sent from an inactive renderer for the browser to route to the active |
| 1612 // renderer, instructing it to close. |
| 1613 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) |
| 1614 |
| 1611 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage, | 1615 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage, |
| 1612 string16 /* in - alert message */, | 1616 string16 /* in - alert message */, |
| 1613 string16 /* in - default prompt */, | 1617 string16 /* in - default prompt */, |
| 1614 GURL /* in - originating page URL */, | 1618 GURL /* in - originating page URL */, |
| 1615 ui::JavascriptMessageType /* in - type */, | 1619 ui::JavascriptMessageType /* in - type */, |
| 1616 bool /* out - success */, | 1620 bool /* out - success */, |
| 1617 string16 /* out - user_input field */) | 1621 string16 /* out - user_input field */) |
| 1618 | 1622 |
| 1619 // Requests that the given URL be opened in the specified manner. | 1623 // Requests that the given URL be opened in the specified manner. |
| 1620 IPC_MESSAGE_ROUTED4(ViewHostMsg_OpenURL, | 1624 IPC_MESSAGE_ROUTED4(ViewHostMsg_OpenURL, |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2020 int /* automation_id */) | 2024 int /* automation_id */) |
| 2021 | 2025 |
| 2022 // Sent to the browser when the renderer detects it is blocked on a pepper | 2026 // Sent to the browser when the renderer detects it is blocked on a pepper |
| 2023 // plugin message for too long. This is also sent when it becomes unhung | 2027 // plugin message for too long. This is also sent when it becomes unhung |
| 2024 // (according to the value of is_hung). The browser can give the user the | 2028 // (according to the value of is_hung). The browser can give the user the |
| 2025 // option of killing the plugin. | 2029 // option of killing the plugin. |
| 2026 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2030 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
| 2027 int /* plugin_child_id */, | 2031 int /* plugin_child_id */, |
| 2028 FilePath /* path */, | 2032 FilePath /* path */, |
| 2029 bool /* is_hung */) | 2033 bool /* is_hung */) |
| OLD | NEW |