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 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1284 // window.navigator.onLine should be updated for all WebViews. | 1284 // window.navigator.onLine should be updated for all WebViews. |
1285 IPC_MESSAGE_CONTROL1(ViewMsg_NetworkStateChanged, | 1285 IPC_MESSAGE_CONTROL1(ViewMsg_NetworkStateChanged, |
1286 bool /* online */) | 1286 bool /* online */) |
1287 | 1287 |
1288 // Reply to ViewHostMsg_OpenChannelToPpapiBroker | 1288 // Reply to ViewHostMsg_OpenChannelToPpapiBroker |
1289 // Tells the renderer that the channel to the broker has been created. | 1289 // Tells the renderer that the channel to the broker has been created. |
1290 IPC_MESSAGE_ROUTED2(ViewMsg_PpapiBrokerChannelCreated, | 1290 IPC_MESSAGE_ROUTED2(ViewMsg_PpapiBrokerChannelCreated, |
1291 int /* request_id */, | 1291 int /* request_id */, |
1292 IPC::ChannelHandle /* handle */) | 1292 IPC::ChannelHandle /* handle */) |
1293 | 1293 |
1294 // Reply to ViewHostMsg_RequestPpapiBrokerPermission. | |
1295 // Tells the renderer whether permission to access to PPAPI broker was granted | |
1296 // or not. | |
1297 IPC_MESSAGE_ROUTED2(ViewMsg_PpapiBrokerPermissionResult, | |
1298 int /* request_id */, | |
1299 bool /* result */) | |
1300 | |
1294 // Tells the renderer to empty its plugin list cache, optional reloading | 1301 // Tells the renderer to empty its plugin list cache, optional reloading |
1295 // pages containing plugins. | 1302 // pages containing plugins. |
1296 IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache, | 1303 IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache, |
1297 bool /* reload_pages */) | 1304 bool /* reload_pages */) |
1298 | 1305 |
1299 // Sent to the renderer when a popup window should no longer count against | 1306 // Sent to the renderer when a popup window should no longer count against |
1300 // the current popup count (either because it's not a popup or because it was | 1307 // the current popup count (either because it's not a popup or because it was |
1301 // a generated by a user action). | 1308 // a generated by a user action). |
1302 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) | 1309 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) |
1303 | 1310 |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1817 // A renderer sends this to the browser process when it wants to | 1824 // A renderer sends this to the browser process when it wants to |
1818 // create a ppapi broker. The browser will create the broker process | 1825 // create a ppapi broker. The browser will create the broker process |
1819 // if necessary, and will return a handle to the channel on success. | 1826 // if necessary, and will return a handle to the channel on success. |
1820 // On error an empty string is returned. | 1827 // On error an empty string is returned. |
1821 // The browser will respond with ViewMsg_PpapiBrokerChannelCreated. | 1828 // The browser will respond with ViewMsg_PpapiBrokerChannelCreated. |
1822 IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker, | 1829 IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker, |
1823 int /* routing_id */, | 1830 int /* routing_id */, |
1824 int /* request_id */, | 1831 int /* request_id */, |
1825 FilePath /* path */) | 1832 FilePath /* path */) |
1826 | 1833 |
1834 // A renderer sends this to the browser process when it wants to access a PPAPI | |
1835 // broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called | |
1836 // for every connection. | |
1837 //The browser will respond with ViewMsg_PpapiBrokerPermissionResult. | |
ddorwin
2012/08/12 22:51:16
missing space after //
Bernhard Bauer
2012/08/13 09:02:12
Done.
| |
1838 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission, | |
1839 int /* request_id */, | |
1840 GURL /* document_url */, | |
1841 FilePath /* plugin_path */) | |
1842 | |
1827 #if defined(USE_X11) | 1843 #if defined(USE_X11) |
1828 // A renderer sends this when it needs a browser-side widget for | 1844 // A renderer sends this when it needs a browser-side widget for |
1829 // hosting a windowed plugin. id is the XID of the plugin window, for which | 1845 // hosting a windowed plugin. id is the XID of the plugin window, for which |
1830 // the container is created. | 1846 // the container is created. |
1831 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer, | 1847 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer, |
1832 gfx::PluginWindowHandle /* id */) | 1848 gfx::PluginWindowHandle /* id */) |
1833 | 1849 |
1834 // Destroy a plugin container previously created using CreatePluginContainer. | 1850 // Destroy a plugin container previously created using CreatePluginContainer. |
1835 // id is the XID of the plugin window corresponding to the container that is | 1851 // id is the XID of the plugin window corresponding to the container that is |
1836 // to be destroyed. | 1852 // to be destroyed. |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2181 // (according to the value of is_hung). The browser can give the user the | 2197 // (according to the value of is_hung). The browser can give the user the |
2182 // option of killing the plugin. | 2198 // option of killing the plugin. |
2183 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2199 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2184 int /* plugin_child_id */, | 2200 int /* plugin_child_id */, |
2185 FilePath /* path */, | 2201 FilePath /* path */, |
2186 bool /* is_hung */) | 2202 bool /* is_hung */) |
2187 | 2203 |
2188 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2204 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2189 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2205 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2190 int /* orientation */) | 2206 int /* orientation */) |
OLD | NEW |