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 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 | 1510 |
1511 // Notifies the browser that document has parsed the body. This is used by the | 1511 // Notifies the browser that document has parsed the body. This is used by the |
1512 // ResourceScheduler as an indication that bandwidth contention won't block | 1512 // ResourceScheduler as an indication that bandwidth contention won't block |
1513 // first paint. | 1513 // first paint. |
1514 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) | 1514 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) |
1515 | 1515 |
1516 // Notification that the urls for the favicon of a site has been determined. | 1516 // Notification that the urls for the favicon of a site has been determined. |
1517 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, | 1517 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, |
1518 std::vector<content::FaviconURL> /* candidates */) | 1518 std::vector<content::FaviconURL> /* candidates */) |
1519 | 1519 |
1520 // Sent by the renderer to the browser to start a vibration with the given | |
1521 // duration. | |
1522 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, | |
1523 int64 /* milliseconds */) | |
1524 | |
1525 // Sent by the renderer to the browser to cancel the currently running | |
1526 // vibration, if there is one. | |
1527 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) | |
1528 | |
1529 // Message sent from renderer to the browser when the element that is focused | 1520 // Message sent from renderer to the browser when the element that is focused |
1530 // has been touched. A bool is passed in this message which indicates if the | 1521 // has been touched. A bool is passed in this message which indicates if the |
1531 // node is editable. | 1522 // node is editable. |
1532 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched, | 1523 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched, |
1533 bool /* editable */) | 1524 bool /* editable */) |
1534 | 1525 |
1535 // Message sent from the renderer to the browser when an HTML form has failed | 1526 // Message sent from the renderer to the browser when an HTML form has failed |
1536 // validation constraints. | 1527 // validation constraints. |
1537 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage, | 1528 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage, |
1538 gfx::Rect /* anchor rectangle in root view coordinate */, | 1529 gfx::Rect /* anchor rectangle in root view coordinate */, |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1640 // Since the browser keeps handles to the allocated transport DIBs, this | 1631 // Since the browser keeps handles to the allocated transport DIBs, this |
1641 // message is sent to tell the browser that it may release them when the | 1632 // message is sent to tell the browser that it may release them when the |
1642 // renderer is finished with them. | 1633 // renderer is finished with them. |
1643 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1634 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1644 TransportDIB::Id /* DIB id */) | 1635 TransportDIB::Id /* DIB id */) |
1645 #endif | 1636 #endif |
1646 | 1637 |
1647 // Adding a new message? Stick to the sort order above: first platform | 1638 // Adding a new message? Stick to the sort order above: first platform |
1648 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1639 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1649 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1640 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |