| 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 1750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1761 bool /* pinned_to_right */) | 1761 bool /* pinned_to_right */) |
| 1762 | 1762 |
| 1763 // Notifies that the number of JavaScript scroll handlers changed. | 1763 // Notifies that the number of JavaScript scroll handlers changed. |
| 1764 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeNumWheelEvents, | 1764 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeNumWheelEvents, |
| 1765 int /* count */) | 1765 int /* count */) |
| 1766 | 1766 |
| 1767 // Notifies that the number of JavaScript touch event handlers changed. | 1767 // Notifies that the number of JavaScript touch event handlers changed. |
| 1768 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeNumTouchEvents, | 1768 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeNumTouchEvents, |
| 1769 int /* count */) | 1769 int /* count */) |
| 1770 | 1770 |
| 1771 // Notifies whether there are JavaScript touche event handlers or not. |
| 1772 IPC_MESSAGE_ROUTED1(ViewHostMsg_HasTouchEventHandlers, |
| 1773 bool /* has_handlers */) |
| 1774 |
| 1771 // A message from HTML-based UI. When (trusted) Javascript calls | 1775 // A message from HTML-based UI. When (trusted) Javascript calls |
| 1772 // send(message, args), this message is sent to the browser. | 1776 // send(message, args), this message is sent to the browser. |
| 1773 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, | 1777 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |
| 1774 GURL /* source_url */, | 1778 GURL /* source_url */, |
| 1775 std::string /* message */, | 1779 std::string /* message */, |
| 1776 base::ListValue /* args */) | 1780 base::ListValue /* args */) |
| 1777 | 1781 |
| 1778 // A renderer sends this to the browser process when it wants to create a ppapi | 1782 // A renderer sends this to the browser process when it wants to create a ppapi |
| 1779 // plugin. The browser will create the plugin process if necessary, and will | 1783 // plugin. The browser will create the plugin process if necessary, and will |
| 1780 // return a handle to the channel on success. | 1784 // return a handle to the channel on success. |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2157 // (according to the value of is_hung). The browser can give the user the | 2161 // (according to the value of is_hung). The browser can give the user the |
| 2158 // option of killing the plugin. | 2162 // option of killing the plugin. |
| 2159 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2163 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
| 2160 int /* plugin_child_id */, | 2164 int /* plugin_child_id */, |
| 2161 FilePath /* path */, | 2165 FilePath /* path */, |
| 2162 bool /* is_hung */) | 2166 bool /* is_hung */) |
| 2163 | 2167 |
| 2164 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2168 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
| 2165 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2169 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
| 2166 int /* orientation */) | 2170 int /* orientation */) |
| OLD | NEW |