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 // 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/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "content/public/common/common_param_traits.h" | 9 #include "content/public/common/common_param_traits.h" |
10 #include "content/public/common/webkit_param_traits.h" | 10 #include "content/public/common/webkit_param_traits.h" |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 | 289 |
290 #if defined(OS_MACOSX) | 290 #if defined(OS_MACOSX) |
291 // This message, used only on 10.6 and later, transmits the "fake" | 291 // This message, used only on 10.6 and later, transmits the "fake" |
292 // window handle allocated by the browser on behalf of the renderer | 292 // window handle allocated by the browser on behalf of the renderer |
293 // to the GPU plugin. | 293 // to the GPU plugin. |
294 IPC_MESSAGE_ROUTED1(PluginMsg_SetFakeAcceleratedSurfaceWindowHandle, | 294 IPC_MESSAGE_ROUTED1(PluginMsg_SetFakeAcceleratedSurfaceWindowHandle, |
295 gfx::PluginWindowHandle /* window */) | 295 gfx::PluginWindowHandle /* window */) |
296 #endif | 296 #endif |
297 | 297 |
298 IPC_MESSAGE_CONTROL3(PluginMsg_ClearSiteData, | 298 IPC_MESSAGE_CONTROL3(PluginMsg_ClearSiteData, |
299 std::string, /* site */ | 299 std::string /* site */, |
300 uint64, /* flags */ | 300 uint64 /* flags */, |
301 base::Time /* begin_time */) | 301 uint64 /* max_age */) |
302 | |
303 | 302 |
304 //----------------------------------------------------------------------------- | 303 //----------------------------------------------------------------------------- |
305 // PluginHost messages | 304 // PluginHost messages |
306 // These are messages sent from the plugin process to the renderer process. | 305 // These are messages sent from the plugin process to the renderer process. |
307 // They all map to the corresponding WebPlugin methods. | 306 // They all map to the corresponding WebPlugin methods. |
308 // Sends the plugin window information to the renderer. | 307 // Sends the plugin window information to the renderer. |
309 // The window parameter is a handle to the window if the plugin is a windowed | 308 // The window parameter is a handle to the window if the plugin is a windowed |
310 // plugin. It is NULL for windowless plugins. | 309 // plugin. It is NULL for windowless plugins. |
311 IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindow, | 310 IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindow, |
312 gfx::PluginWindowHandle /* window */) | 311 gfx::PluginWindowHandle /* window */) |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 517 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
519 std::vector<NPVariant_Param> /* args */, | 518 std::vector<NPVariant_Param> /* args */, |
520 NPVariant_Param /* result_param */, | 519 NPVariant_Param /* result_param */, |
521 bool /* result */) | 520 bool /* result */) |
522 | 521 |
523 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 522 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
524 std::string /* script */, | 523 std::string /* script */, |
525 bool /* popups_allowed */, | 524 bool /* popups_allowed */, |
526 NPVariant_Param /* result_param */, | 525 NPVariant_Param /* result_param */, |
527 bool /* result */) | 526 bool /* result */) |
OLD | NEW |