| 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 <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // Response to a PluginProcessMsg_CreateChannel message. | 49 // Response to a PluginProcessMsg_CreateChannel message. |
| 50 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelCreated, | 50 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelCreated, |
| 51 IPC::ChannelHandle /* channel_handle */) | 51 IPC::ChannelHandle /* channel_handle */) |
| 52 | 52 |
| 53 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelDestroyed, | 53 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelDestroyed, |
| 54 int /* renderer_id */) | 54 int /* renderer_id */) |
| 55 | 55 |
| 56 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ClearSiteDataResult, | 56 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ClearSiteDataResult, |
| 57 bool /* success */) | 57 bool /* success */) |
| 58 | 58 |
| 59 #if defined(OS_WIN) | |
| 60 // Destroys the given window's parent on the UI thread. | |
| 61 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginWindowDestroyed, | |
| 62 HWND /* window */, | |
| 63 HWND /* parent */) | |
| 64 #endif | |
| 65 | |
| 66 #if defined(OS_MACOSX) | 59 #if defined(OS_MACOSX) |
| 67 // On Mac OS X, we need the browser to keep track of plugin windows so | 60 // On Mac OS X, we need the browser to keep track of plugin windows so |
| 68 // that it can add and remove them from stacking groups, hide and show the | 61 // that it can add and remove them from stacking groups, hide and show the |
| 69 // menu bar, etc. We pass the window rect for convenience so that the | 62 // menu bar, etc. We pass the window rect for convenience so that the |
| 70 // browser can easily tell if the window is fullscreen. | 63 // browser can easily tell if the window is fullscreen. |
| 71 | 64 |
| 72 // Notifies the browser that the plugin has shown a window. | 65 // Notifies the browser that the plugin has shown a window. |
| 73 IPC_MESSAGE_CONTROL3(PluginProcessHostMsg_PluginShowWindow, | 66 IPC_MESSAGE_CONTROL3(PluginProcessHostMsg_PluginShowWindow, |
| 74 uint32_t /* window ID */, | 67 uint32_t /* window ID */, |
| 75 gfx::Rect /* window rect */, | 68 gfx::Rect /* window rect */, |
| 76 bool /* modal */) | 69 bool /* modal */) |
| 77 | 70 |
| 78 // Notifies the browser that the plugin has hidden a window. | 71 // Notifies the browser that the plugin has hidden a window. |
| 79 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginHideWindow, | 72 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginHideWindow, |
| 80 uint32_t /* window ID */, | 73 uint32_t /* window ID */, |
| 81 gfx::Rect /* window rect */) | 74 gfx::Rect /* window rect */) |
| 82 | 75 |
| 83 // Notifies the browser that a plugin instance has requested a cursor | 76 // Notifies the browser that a plugin instance has requested a cursor |
| 84 // visibility change. | 77 // visibility change. |
| 85 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginSetCursorVisibility, | 78 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginSetCursorVisibility, |
| 86 bool /* cursor visibility */) | 79 bool /* cursor visibility */) |
| 87 #endif | 80 #endif |
| OLD | NEW |