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/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1688 // necessary, and will return a handle to the channel on success. | 1688 // necessary, and will return a handle to the channel on success. |
1689 // On error an empty string is returned. | 1689 // On error an empty string is returned. |
1690 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, | 1690 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, |
1691 int /* routing_id */, | 1691 int /* routing_id */, |
1692 GURL /* url */, | 1692 GURL /* url */, |
1693 GURL /* page_url */, | 1693 GURL /* page_url */, |
1694 std::string /* mime_type */, | 1694 std::string /* mime_type */, |
1695 IPC::ChannelHandle /* channel_handle */, | 1695 IPC::ChannelHandle /* channel_handle */, |
1696 webkit::WebPluginInfo /* info */) | 1696 webkit::WebPluginInfo /* info */) |
1697 | 1697 |
1698 // Sent by the renderer to the browser to start a vibration with the given | |
1699 // duration. | |
1700 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, | |
1701 int32 /* milliseconds */) | |
palmer
2013/06/24 19:07:08
I really think you're better off using int64_t (==
Michael van Ouwerkerk
2013/06/25 10:56:07
The windows bots fail to compile because int64_t i
| |
1702 | |
1703 // Sent by the renderer to the browser to cancel the currently running | |
1704 // vibration, if there is one. | |
1705 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) | |
1706 | |
1698 #if defined(OS_WIN) | 1707 #if defined(OS_WIN) |
1699 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated, | 1708 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated, |
1700 gfx::NativeViewId /* dummy_activation_window */) | 1709 gfx::NativeViewId /* dummy_activation_window */) |
1701 | 1710 |
1702 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowDestroyed, | 1711 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowDestroyed, |
1703 gfx::NativeViewId /* dummy_activation_window */) | 1712 gfx::NativeViewId /* dummy_activation_window */) |
1704 #endif | 1713 #endif |
1705 | 1714 |
1706 // Get the list of proxies to use for |url|, as a semicolon delimited list | 1715 // Get the list of proxies to use for |url|, as a semicolon delimited list |
1707 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". | 1716 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2321 // Since the browser keeps handles to the allocated transport DIBs, this | 2330 // Since the browser keeps handles to the allocated transport DIBs, this |
2322 // message is sent to tell the browser that it may release them when the | 2331 // message is sent to tell the browser that it may release them when the |
2323 // renderer is finished with them. | 2332 // renderer is finished with them. |
2324 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 2333 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
2325 TransportDIB::Id /* DIB id */) | 2334 TransportDIB::Id /* DIB id */) |
2326 #endif | 2335 #endif |
2327 | 2336 |
2328 // Adding a new message? Stick to the sort order above: first platform | 2337 // Adding a new message? Stick to the sort order above: first platform |
2329 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2338 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2330 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2339 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |