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 1681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1692 // necessary, and will return a handle to the channel on success. | 1692 // necessary, and will return a handle to the channel on success. |
1693 // On error an empty string is returned. | 1693 // On error an empty string is returned. |
1694 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, | 1694 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, |
1695 int /* routing_id */, | 1695 int /* routing_id */, |
1696 GURL /* url */, | 1696 GURL /* url */, |
1697 GURL /* page_url */, | 1697 GURL /* page_url */, |
1698 std::string /* mime_type */, | 1698 std::string /* mime_type */, |
1699 IPC::ChannelHandle /* channel_handle */, | 1699 IPC::ChannelHandle /* channel_handle */, |
1700 webkit::WebPluginInfo /* info */) | 1700 webkit::WebPluginInfo /* info */) |
1701 | 1701 |
1702 #if defined(OS_ANDROID) | |
jam
2013/07/12 00:12:04
there's one OS_ANDROID section below for android-s
Michael van Ouwerkerk
2013/07/12 10:49:14
Done.
| |
1703 // Sent by the renderer to the browser to start a vibration with the given | |
1704 // duration. | |
1705 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, | |
1706 int64 /* milliseconds */) | |
1707 | |
1708 // Sent by the renderer to the browser to cancel the currently running | |
1709 // vibration, if there is one. | |
1710 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) | |
1711 #endif | |
1712 | |
1702 #if defined(OS_WIN) | 1713 #if defined(OS_WIN) |
1703 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated, | 1714 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated, |
1704 gfx::NativeViewId /* dummy_activation_window */) | 1715 gfx::NativeViewId /* dummy_activation_window */) |
1705 | 1716 |
1706 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowDestroyed, | 1717 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowDestroyed, |
1707 gfx::NativeViewId /* dummy_activation_window */) | 1718 gfx::NativeViewId /* dummy_activation_window */) |
1708 #endif | 1719 #endif |
1709 | 1720 |
1710 // Get the list of proxies to use for |url|, as a semicolon delimited list | 1721 // Get the list of proxies to use for |url|, as a semicolon delimited list |
1711 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". | 1722 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2329 // synchronously (see crbug.com/120597). This IPC message sends the character | 2340 // synchronously (see crbug.com/120597). This IPC message sends the character |
2330 // bounds after every composition change to always have correct bound info. | 2341 // bounds after every composition change to always have correct bound info. |
2331 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2342 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2332 ui::Range /* composition range */, | 2343 ui::Range /* composition range */, |
2333 std::vector<gfx::Rect> /* character bounds */) | 2344 std::vector<gfx::Rect> /* character bounds */) |
2334 #endif | 2345 #endif |
2335 | 2346 |
2336 // Adding a new message? Stick to the sort order above: first platform | 2347 // Adding a new message? Stick to the sort order above: first platform |
2337 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2348 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2338 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2349 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |