| 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/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
| 10 #include "content/public/common/common_param_traits.h" | 10 #include "content/public/common/common_param_traits.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 uint64 /* max_age */) | 41 uint64 /* max_age */) |
| 42 | 42 |
| 43 | 43 |
| 44 //----------------------------------------------------------------------------- | 44 //----------------------------------------------------------------------------- |
| 45 // PluginProcessHost messages | 45 // PluginProcessHost messages |
| 46 // These are messages sent from the plugin process to the browser process. | 46 // These are messages sent from the plugin process to the browser process. |
| 47 // Response to a PluginProcessMsg_CreateChannel message. | 47 // Response to a PluginProcessMsg_CreateChannel message. |
| 48 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelCreated, | 48 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelCreated, |
| 49 IPC::ChannelHandle /* channel_handle */) | 49 IPC::ChannelHandle /* channel_handle */) |
| 50 | 50 |
| 51 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelDestroyed, |
| 52 int /* renderer_id */) |
| 53 |
| 51 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ClearSiteDataResult, | 54 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ClearSiteDataResult, |
| 52 bool /* success */) | 55 bool /* success */) |
| 53 | 56 |
| 54 #if defined(OS_WIN) | 57 #if defined(OS_WIN) |
| 55 // Destroys the given window's parent on the UI thread. | 58 // Destroys the given window's parent on the UI thread. |
| 56 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginWindowDestroyed, | 59 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginWindowDestroyed, |
| 57 HWND /* window */, | 60 HWND /* window */, |
| 58 HWND /* parent */) | 61 HWND /* parent */) |
| 59 #endif | 62 #endif |
| 60 | 63 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 90 // Notifies the browser that the plugin has hidden a window. | 93 // Notifies the browser that the plugin has hidden a window. |
| 91 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginHideWindow, | 94 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginHideWindow, |
| 92 uint32 /* window ID */, | 95 uint32 /* window ID */, |
| 93 gfx::Rect /* window rect */) | 96 gfx::Rect /* window rect */) |
| 94 | 97 |
| 95 // Notifies the browser that a plugin instance has requested a cursor | 98 // Notifies the browser that a plugin instance has requested a cursor |
| 96 // visibility change. | 99 // visibility change. |
| 97 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginSetCursorVisibility, | 100 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginSetCursorVisibility, |
| 98 bool /* cursor visibility */) | 101 bool /* cursor visibility */) |
| 99 #endif | 102 #endif |
| OLD | NEW |