| 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 <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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 bool /* result */) | 71 bool /* result */) |
| 72 | 72 |
| 73 // Used to synchronously request a paint for windowless plugins. | 73 // Used to synchronously request a paint for windowless plugins. |
| 74 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_Paint, | 74 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_Paint, |
| 75 gfx::Rect /* damaged_rect */) | 75 gfx::Rect /* damaged_rect */) |
| 76 | 76 |
| 77 // Sent by the renderer after it paints from its backing store so that the | 77 // Sent by the renderer after it paints from its backing store so that the |
| 78 // plugin knows it can send more invalidates. | 78 // plugin knows it can send more invalidates. |
| 79 IPC_MESSAGE_ROUTED0(PluginMsg_DidPaint) | 79 IPC_MESSAGE_ROUTED0(PluginMsg_DidPaint) |
| 80 | 80 |
| 81 // Gets the form value of the plugin instance synchronously. | |
| 82 IPC_SYNC_MESSAGE_ROUTED0_2(PluginMsg_GetFormValue, | |
| 83 base::string16 /* value */, | |
| 84 bool /* success */) | |
| 85 | |
| 86 // Updates the plugin location. | 81 // Updates the plugin location. |
| 87 IPC_MESSAGE_ROUTED1(PluginMsg_UpdateGeometry, | 82 IPC_MESSAGE_ROUTED1(PluginMsg_UpdateGeometry, |
| 88 PluginMsg_UpdateGeometry_Param) | 83 PluginMsg_UpdateGeometry_Param) |
| 89 | 84 |
| 90 // A synchronous version of above. | 85 // A synchronous version of above. |
| 91 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_UpdateGeometrySync, | 86 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_UpdateGeometrySync, |
| 92 PluginMsg_UpdateGeometry_Param) | 87 PluginMsg_UpdateGeometry_Param) |
| 93 | 88 |
| 94 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_SetFocus, | 89 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_SetFocus, |
| 95 bool /* focused */) | 90 bool /* focused */) |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 IPC_MESSAGE_ROUTED3(PluginHostMsg_AcceleratedPluginAllocatedIOSurface, | 174 IPC_MESSAGE_ROUTED3(PluginHostMsg_AcceleratedPluginAllocatedIOSurface, |
| 180 int32_t /* width */, | 175 int32_t /* width */, |
| 181 int32_t /* height */, | 176 int32_t /* height */, |
| 182 uint32_t /* surface_id */) | 177 uint32_t /* surface_id */) |
| 183 | 178 |
| 184 // Notifies the renderer process that the plugin produced a new frame | 179 // Notifies the renderer process that the plugin produced a new frame |
| 185 // of content into its IOSurface, and therefore that the compositor | 180 // of content into its IOSurface, and therefore that the compositor |
| 186 // needs to redraw. | 181 // needs to redraw. |
| 187 IPC_MESSAGE_ROUTED0(PluginHostMsg_AcceleratedPluginSwappedIOSurface) | 182 IPC_MESSAGE_ROUTED0(PluginHostMsg_AcceleratedPluginSwappedIOSurface) |
| 188 #endif | 183 #endif |
| OLD | NEW |