OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1655 // Requests that the given URL be opened in the specified manner. | 1655 // Requests that the given URL be opened in the specified manner. |
1656 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenURL, | 1656 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenURL, |
1657 GURL /* url */, | 1657 GURL /* url */, |
1658 GURL /* referrer */, | 1658 GURL /* referrer */, |
1659 WindowOpenDisposition /* disposition */) | 1659 WindowOpenDisposition /* disposition */) |
1660 | 1660 |
1661 // Notifies that the preferred size of the content changed. | 1661 // Notifies that the preferred size of the content changed. |
1662 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, | 1662 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, |
1663 gfx::Size /* pref_size */) | 1663 gfx::Size /* pref_size */) |
1664 | 1664 |
| 1665 // Notifies that the scrollbars-visible state of the content changed. |
| 1666 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, |
| 1667 bool /* has_horizontal_scrollbar */, |
| 1668 bool /* has_vertical_scrollbar */) |
| 1669 |
| 1670 // Notifies that the pinned-to-side state of the content changed. |
| 1671 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollbarsForMainFrame, |
| 1672 bool /* pinned_to_left */, |
| 1673 bool /* pinned_to_right */) |
| 1674 |
| 1675 // Notifies that the number of JavaScript scroll handlers changed. |
| 1676 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeNumWheelEvents, |
| 1677 int /* count */) |
| 1678 |
1665 // A message from HTML-based UI. When (trusted) Javascript calls | 1679 // A message from HTML-based UI. When (trusted) Javascript calls |
1666 // send(message, args), this message is sent to the browser. | 1680 // send(message, args), this message is sent to the browser. |
1667 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, | 1681 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |
1668 GURL /* source_url */, | 1682 GURL /* source_url */, |
1669 std::string /* message */, | 1683 std::string /* message */, |
1670 base::ListValue /* args */) | 1684 base::ListValue /* args */) |
1671 | 1685 |
1672 // A renderer sends this to the browser process when it wants to | 1686 // A renderer sends this to the browser process when it wants to |
1673 // create a ppapi plugin. The browser will create the plugin process if | 1687 // create a ppapi plugin. The browser will create the plugin process if |
1674 // necessary, and will return a handle to the channel on success. | 1688 // necessary, and will return a handle to the channel on success. |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2055 int32 /* complete status */) | 2069 int32 /* complete status */) |
2056 | 2070 |
2057 // Request updated information about the client firewall traversal policy. | 2071 // Request updated information about the client firewall traversal policy. |
2058 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2072 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
2059 // being sent back. | 2073 // being sent back. |
2060 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2074 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
2061 | 2075 |
2062 // Notifies the browser of an event occurring in the media pipeline. | 2076 // Notifies the browser of an event occurring in the media pipeline. |
2063 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2077 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
2064 media::MediaLogEvent /* event */) | 2078 media::MediaLogEvent /* event */) |
OLD | NEW |