| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "content/child/plugin_param_traits.h" | 8 #include "content/child/plugin_param_traits.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "content/common/content_param_traits.h" | 10 #include "content/common/content_param_traits.h" |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 gfx::Rect /* window_frame */, | 216 gfx::Rect /* window_frame */, |
| 217 gfx::Rect /* view_frame */, | 217 gfx::Rect /* view_frame */, |
| 218 bool /* has_focus */) | 218 bool /* has_focus */) |
| 219 | 219 |
| 220 IPC_MESSAGE_ROUTED2(PluginMsg_WindowFrameChanged, | 220 IPC_MESSAGE_ROUTED2(PluginMsg_WindowFrameChanged, |
| 221 gfx::Rect /* window_frame */, | 221 gfx::Rect /* window_frame */, |
| 222 gfx::Rect /* view_frame */) | 222 gfx::Rect /* view_frame */) |
| 223 | 223 |
| 224 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted, | 224 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted, |
| 225 base::string16 /* text */) | 225 base::string16 /* text */) |
| 226 | |
| 227 // This message, used only on 10.6 and later, transmits the "fake" | |
| 228 // window handle allocated by the browser on behalf of the renderer | |
| 229 // to the GPU plugin. | |
| 230 IPC_MESSAGE_ROUTED1(PluginMsg_SetFakeAcceleratedSurfaceWindowHandle, | |
| 231 gfx::PluginWindowHandle /* window */) | |
| 232 #endif | 226 #endif |
| 233 | 227 |
| 234 //----------------------------------------------------------------------------- | 228 //----------------------------------------------------------------------------- |
| 235 // PluginHost messages | 229 // PluginHost messages |
| 236 // These are messages sent from the plugin process to the renderer process. | 230 // These are messages sent from the plugin process to the renderer process. |
| 237 // They all map to the corresponding WebPlugin methods. | 231 // They all map to the corresponding WebPlugin methods. |
| 238 // Sends the plugin window information to the renderer. | 232 // Sends the plugin window information to the renderer. |
| 239 // The window parameter is a handle to the window if the plugin is a windowed | 233 // The window parameter is a handle to the window if the plugin is a windowed |
| 240 // plugin. It is NULL for windowless plugins. | 234 // plugin. It is NULL for windowless plugins. |
| 241 IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindow, | 235 IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindow, |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 389 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
| 396 std::vector<content::NPVariant_Param> /* args */, | 390 std::vector<content::NPVariant_Param> /* args */, |
| 397 content::NPVariant_Param /* result_param */, | 391 content::NPVariant_Param /* result_param */, |
| 398 bool /* result */) | 392 bool /* result */) |
| 399 | 393 |
| 400 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 394 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 401 std::string /* script */, | 395 std::string /* script */, |
| 402 bool /* popups_allowed */, | 396 bool /* popups_allowed */, |
| 403 content::NPVariant_Param /* result_param */, | 397 content::NPVariant_Param /* result_param */, |
| 404 bool /* result */) | 398 bool /* result */) |
| OLD | NEW |