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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1713 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CookiesEnabled, | 1713 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CookiesEnabled, |
1714 GURL /* url */, | 1714 GURL /* url */, |
1715 GURL /* first_party_for_cookies */, | 1715 GURL /* first_party_for_cookies */, |
1716 bool /* cookies_enabled */) | 1716 bool /* cookies_enabled */) |
1717 | 1717 |
1718 // Used to get the list of plugins | 1718 // Used to get the list of plugins |
1719 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, | 1719 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPlugins, |
1720 bool /* refresh*/, | 1720 bool /* refresh*/, |
1721 std::vector<content::WebPluginInfo> /* plugins */) | 1721 std::vector<content::WebPluginInfo> /* plugins */) |
1722 | 1722 |
1723 // Return information about a plugin for the given URL and MIME | |
1724 // type. If there is no matching plugin, |found| is false. | |
1725 // |actual_mime_type| is the actual mime type supported by the | |
1726 // found plugin. | |
1727 IPC_SYNC_MESSAGE_CONTROL4_3(ViewHostMsg_GetPluginInfo, | |
1728 int /* routing_id */, | |
1729 GURL /* url */, | |
1730 GURL /* page_url */, | |
1731 std::string /* mime_type */, | |
1732 bool /* found */, | |
1733 content::WebPluginInfo /* plugin info */, | |
1734 std::string /* actual_mime_type */) | |
1735 | |
1736 // A renderer sends this to the browser process when it wants to | |
1737 // create a plugin. The browser will create the plugin process if | |
1738 // necessary, and will return a handle to the channel on success. | |
1739 // On error an empty string is returned. | |
1740 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, | |
1741 int /* routing_id */, | |
1742 GURL /* url */, | |
1743 GURL /* page_url */, | |
1744 std::string /* mime_type */, | |
1745 IPC::ChannelHandle /* channel_handle */, | |
1746 content::WebPluginInfo /* info */) | |
1747 | |
1748 #if defined(OS_WIN) | 1723 #if defined(OS_WIN) |
1749 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated, | 1724 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated, |
1750 gfx::NativeViewId /* dummy_activation_window */) | 1725 gfx::NativeViewId /* dummy_activation_window */) |
1751 | 1726 |
1752 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowDestroyed, | 1727 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowDestroyed, |
1753 gfx::NativeViewId /* dummy_activation_window */) | 1728 gfx::NativeViewId /* dummy_activation_window */) |
1754 #endif | 1729 #endif |
1755 | 1730 |
1756 // Get the list of proxies to use for |url|, as a semicolon delimited list | 1731 // Get the list of proxies to use for |url|, as a semicolon delimited list |
1757 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". | 1732 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2356 // synchronously (see crbug.com/120597). This IPC message sends the character | 2331 // synchronously (see crbug.com/120597). This IPC message sends the character |
2357 // bounds after every composition change to always have correct bound info. | 2332 // bounds after every composition change to always have correct bound info. |
2358 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2333 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2359 gfx::Range /* composition range */, | 2334 gfx::Range /* composition range */, |
2360 std::vector<gfx::Rect> /* character bounds */) | 2335 std::vector<gfx::Rect> /* character bounds */) |
2361 #endif | 2336 #endif |
2362 | 2337 |
2363 // Adding a new message? Stick to the sort order above: first platform | 2338 // Adding a new message? Stick to the sort order above: first platform |
2364 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2339 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2365 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2340 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |