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 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1542 | 1542 |
1543 // Notifies the browser that document has parsed the body. This is used by the | 1543 // Notifies the browser that document has parsed the body. This is used by the |
1544 // ResourceScheduler as an indication that bandwidth contention won't block | 1544 // ResourceScheduler as an indication that bandwidth contention won't block |
1545 // first paint. | 1545 // first paint. |
1546 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) | 1546 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) |
1547 | 1547 |
1548 // Notification that the urls for the favicon of a site has been determined. | 1548 // Notification that the urls for the favicon of a site has been determined. |
1549 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, | 1549 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, |
1550 std::vector<content::FaviconURL> /* candidates */) | 1550 std::vector<content::FaviconURL> /* candidates */) |
1551 | 1551 |
1552 // Sent by the renderer to the browser to start a vibration with the given | |
1553 // duration. | |
1554 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, | |
1555 int64 /* milliseconds */) | |
1556 | |
1557 // Sent by the renderer to the browser to cancel the currently running | |
1558 // vibration, if there is one. | |
1559 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) | |
1560 | |
1561 // Message sent from renderer to the browser when the element that is focused | 1552 // Message sent from renderer to the browser when the element that is focused |
1562 // has been touched. A bool is passed in this message which indicates if the | 1553 // has been touched. A bool is passed in this message which indicates if the |
1563 // node is editable. | 1554 // node is editable. |
1564 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched, | 1555 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched, |
1565 bool /* editable */) | 1556 bool /* editable */) |
1566 | 1557 |
1567 // Message sent from the renderer to the browser when an HTML form has failed | 1558 // Message sent from the renderer to the browser when an HTML form has failed |
1568 // validation constraints. | 1559 // validation constraints. |
1569 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage, | 1560 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage, |
1570 gfx::Rect /* anchor rectangle in root view coordinate */, | 1561 gfx::Rect /* anchor rectangle in root view coordinate */, |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1666 // Since the browser keeps handles to the allocated transport DIBs, this | 1657 // Since the browser keeps handles to the allocated transport DIBs, this |
1667 // message is sent to tell the browser that it may release them when the | 1658 // message is sent to tell the browser that it may release them when the |
1668 // renderer is finished with them. | 1659 // renderer is finished with them. |
1669 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1660 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1670 TransportDIB::Id /* DIB id */) | 1661 TransportDIB::Id /* DIB id */) |
1671 #endif | 1662 #endif |
1672 | 1663 |
1673 // Adding a new message? Stick to the sort order above: first platform | 1664 // Adding a new message? Stick to the sort order above: first platform |
1674 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1665 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1675 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1666 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |