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 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1582 | 1582 |
1583 // Notifies that the pinned-to-side state of the content changed. | 1583 // Notifies that the pinned-to-side state of the content changed. |
1584 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollbarsForMainFrame, | 1584 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollbarsForMainFrame, |
1585 bool /* pinned_to_left */, | 1585 bool /* pinned_to_left */, |
1586 bool /* pinned_to_right */) | 1586 bool /* pinned_to_right */) |
1587 | 1587 |
1588 // Notifies that the number of JavaScript scroll handlers changed. | 1588 // Notifies that the number of JavaScript scroll handlers changed. |
1589 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeNumWheelEvents, | 1589 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeNumWheelEvents, |
1590 int /* count */) | 1590 int /* count */) |
1591 | 1591 |
| 1592 // Notifies that the number of JavaScript touch event handlers changed. |
| 1593 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeNumTouchEvents, |
| 1594 int /* count */) |
| 1595 |
1592 // A message from HTML-based UI. When (trusted) Javascript calls | 1596 // A message from HTML-based UI. When (trusted) Javascript calls |
1593 // send(message, args), this message is sent to the browser. | 1597 // send(message, args), this message is sent to the browser. |
1594 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, | 1598 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |
1595 GURL /* source_url */, | 1599 GURL /* source_url */, |
1596 std::string /* message */, | 1600 std::string /* message */, |
1597 base::ListValue /* args */) | 1601 base::ListValue /* args */) |
1598 | 1602 |
1599 // A renderer sends this to the browser process when it wants to | 1603 // A renderer sends this to the browser process when it wants to |
1600 // create a ppapi plugin. The browser will create the plugin process if | 1604 // create a ppapi plugin. The browser will create the plugin process if |
1601 // necessary, and will return a handle to the channel on success. | 1605 // necessary, and will return a handle to the channel on success. |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1936 // have a javascript send a native value (string, number, boolean) to the | 1940 // have a javascript send a native value (string, number, boolean) to the |
1937 // listener in Cpp. (DomAutomationController) | 1941 // listener in Cpp. (DomAutomationController) |
1938 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 1942 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
1939 std::string /* json_string */, | 1943 std::string /* json_string */, |
1940 int /* automation_id */) | 1944 int /* automation_id */) |
1941 | 1945 |
1942 // Enable or disable inverting of web content pixels, for users who prefer | 1946 // Enable or disable inverting of web content pixels, for users who prefer |
1943 // white-on-black. | 1947 // white-on-black. |
1944 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, | 1948 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, |
1945 bool /* invert */) | 1949 bool /* invert */) |
OLD | NEW |