| 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 "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1708 // necessary, and will return a handle to the channel on success. | 1708 // necessary, and will return a handle to the channel on success. |
| 1709 // On error an empty string is returned. | 1709 // On error an empty string is returned. |
| 1710 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, | 1710 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, |
| 1711 int /* routing_id */, | 1711 int /* routing_id */, |
| 1712 GURL /* url */, | 1712 GURL /* url */, |
| 1713 GURL /* page_url */, | 1713 GURL /* page_url */, |
| 1714 std::string /* mime_type */, | 1714 std::string /* mime_type */, |
| 1715 IPC::ChannelHandle /* channel_handle */, | 1715 IPC::ChannelHandle /* channel_handle */, |
| 1716 webkit::WebPluginInfo /* info */) | 1716 webkit::WebPluginInfo /* info */) |
| 1717 | 1717 |
| 1718 // Sent by the renderer to the browser to start a vibration with the given |
| 1719 // duration in milliseconds. |
| 1720 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, |
| 1721 unsigned /* time */) |
| 1722 |
| 1723 // Sent by the renderer to the browser to cancel the currently running |
| 1724 // vibration, if there is one. |
| 1725 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) |
| 1726 |
| 1718 #if defined(OS_WIN) | 1727 #if defined(OS_WIN) |
| 1719 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated, | 1728 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated, |
| 1720 gfx::NativeViewId /* dummy_activation_window */) | 1729 gfx::NativeViewId /* dummy_activation_window */) |
| 1721 | 1730 |
| 1722 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowDestroyed, | 1731 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowDestroyed, |
| 1723 gfx::NativeViewId /* dummy_activation_window */) | 1732 gfx::NativeViewId /* dummy_activation_window */) |
| 1724 #endif | 1733 #endif |
| 1725 | 1734 |
| 1726 // Get the list of proxies to use for |url|, as a semicolon delimited list | 1735 // Get the list of proxies to use for |url|, as a semicolon delimited list |
| 1727 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". | 1736 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". |
| (...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2337 // Since the browser keeps handles to the allocated transport DIBs, this | 2346 // Since the browser keeps handles to the allocated transport DIBs, this |
| 2338 // message is sent to tell the browser that it may release them when the | 2347 // message is sent to tell the browser that it may release them when the |
| 2339 // renderer is finished with them. | 2348 // renderer is finished with them. |
| 2340 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 2349 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
| 2341 TransportDIB::Id /* DIB id */) | 2350 TransportDIB::Id /* DIB id */) |
| 2342 #endif | 2351 #endif |
| 2343 | 2352 |
| 2344 // Adding a new message? Stick to the sort order above: first platform | 2353 // Adding a new message? Stick to the sort order above: first platform |
| 2345 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2354 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2346 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2355 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |