OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include <map> | 5 #include <map> |
6 #include <set> | 6 #include <set> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 2129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2140 // message is sent to tell the browser that it may release them when the | 2140 // message is sent to tell the browser that it may release them when the |
2141 // renderer is finished with them. | 2141 // renderer is finished with them. |
2142 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 2142 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
2143 TransportDIB::Id /* DIB id */) | 2143 TransportDIB::Id /* DIB id */) |
2144 | 2144 |
2145 // Instructs the browser to start or stop plugin IME. | 2145 // Instructs the browser to start or stop plugin IME. |
2146 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetPluginImeEnabled, | 2146 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetPluginImeEnabled, |
2147 bool, /* enabled */ | 2147 bool, /* enabled */ |
2148 int /* plugin_id */) | 2148 int /* plugin_id */) |
2149 | 2149 |
| 2150 // Message sent from renderer to the browser to update the state of a command. |
| 2151 // The |command| parameter is a RenderViewCommand. The |checked_state| parameter |
| 2152 // is a CommandCheckedState. |
| 2153 IPC_MESSAGE_ROUTED3(ViewHostMsg_CommandStateChanged, |
| 2154 int /* command */, |
| 2155 bool /* is_enabled */, |
| 2156 int /* checked_state */) |
| 2157 |
2150 //--------------------------------------------------------------------------- | 2158 //--------------------------------------------------------------------------- |
2151 // Messages related to accelerated plugins | 2159 // Messages related to accelerated plugins |
2152 | 2160 |
2153 // This is sent from the renderer to the browser to allocate a fake | 2161 // This is sent from the renderer to the browser to allocate a fake |
2154 // PluginWindowHandle on the browser side which is used to identify | 2162 // PluginWindowHandle on the browser side which is used to identify |
2155 // the plugin to the browser later when backing store is allocated | 2163 // the plugin to the browser later when backing store is allocated |
2156 // or reallocated. |opaque| indicates whether the plugin's output is | 2164 // or reallocated. |opaque| indicates whether the plugin's output is |
2157 // considered to be opaque, as opposed to translucent. This message | 2165 // considered to be opaque, as opposed to translucent. This message |
2158 // is reused for rendering the accelerated compositor's output. | 2166 // is reused for rendering the accelerated compositor's output. |
2159 // |root| indicates whether the output is supposed to cover the | 2167 // |root| indicates whether the output is supposed to cover the |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2618 int /* request_id */, | 2626 int /* request_id */, |
2619 PP_Flash_NetAddress /* addr */) | 2627 PP_Flash_NetAddress /* addr */) |
2620 | 2628 |
2621 // JavaScript related messages ----------------------------------------------- | 2629 // JavaScript related messages ----------------------------------------------- |
2622 | 2630 |
2623 // Notify the JavaScript engine in the render to change its parameters | 2631 // Notify the JavaScript engine in the render to change its parameters |
2624 // while performing stress testing. | 2632 // while performing stress testing. |
2625 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2633 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2626 int /* cmd */, | 2634 int /* cmd */, |
2627 int /* param */) | 2635 int /* param */) |
OLD | NEW |