| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 TransportDIB::Id /* DIB id */) | 2140 TransportDIB::Id /* DIB id */) |
| 2141 | 2141 |
| 2142 // Informs the browser that a plugin has gained or lost focus. | 2142 // Informs the browser that a plugin has gained or lost focus. |
| 2143 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, | 2143 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, |
| 2144 bool, /* focused */ | 2144 bool, /* focused */ |
| 2145 int /* plugin_id */) | 2145 int /* plugin_id */) |
| 2146 | 2146 |
| 2147 // Instructs the browser to start plugin IME. | 2147 // Instructs the browser to start plugin IME. |
| 2148 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 2148 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
| 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 | |
| 2158 //--------------------------------------------------------------------------- | 2150 //--------------------------------------------------------------------------- |
| 2159 // Messages related to accelerated plugins | 2151 // Messages related to accelerated plugins |
| 2160 | 2152 |
| 2161 // This is sent from the renderer to the browser to allocate a fake | 2153 // This is sent from the renderer to the browser to allocate a fake |
| 2162 // PluginWindowHandle on the browser side which is used to identify | 2154 // PluginWindowHandle on the browser side which is used to identify |
| 2163 // the plugin to the browser later when backing store is allocated | 2155 // the plugin to the browser later when backing store is allocated |
| 2164 // or reallocated. |opaque| indicates whether the plugin's output is | 2156 // or reallocated. |opaque| indicates whether the plugin's output is |
| 2165 // considered to be opaque, as opposed to translucent. This message | 2157 // considered to be opaque, as opposed to translucent. This message |
| 2166 // is reused for rendering the accelerated compositor's output. | 2158 // is reused for rendering the accelerated compositor's output. |
| 2167 // |root| indicates whether the output is supposed to cover the | 2159 // |root| indicates whether the output is supposed to cover the |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2592 // The currently displayed PDF has an unsupported feature. | 2584 // The currently displayed PDF has an unsupported feature. |
| 2593 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 2585 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
| 2594 | 2586 |
| 2595 // JavaScript related messages ----------------------------------------------- | 2587 // JavaScript related messages ----------------------------------------------- |
| 2596 | 2588 |
| 2597 // Notify the JavaScript engine in the render to change its parameters | 2589 // Notify the JavaScript engine in the render to change its parameters |
| 2598 // while performing stress testing. | 2590 // while performing stress testing. |
| 2599 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2591 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 2600 int /* cmd */, | 2592 int /* cmd */, |
| 2601 int /* param */) | 2593 int /* param */) |
| OLD | NEW |