| 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 header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/process.h" | 10 #include "base/process.h" |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 // The scroll offset. Only one of these can be non-zero, and if they are | 221 // The scroll offset. Only one of these can be non-zero, and if they are |
| 222 // both zero, then it means there is no scrolling and the scroll_rect is | 222 // both zero, then it means there is no scrolling and the scroll_rect is |
| 223 // ignored. | 223 // ignored. |
| 224 IPC_STRUCT_MEMBER(int, dx) | 224 IPC_STRUCT_MEMBER(int, dx) |
| 225 IPC_STRUCT_MEMBER(int, dy) | 225 IPC_STRUCT_MEMBER(int, dy) |
| 226 | 226 |
| 227 // The rectangular region to scroll. | 227 // The rectangular region to scroll. |
| 228 IPC_STRUCT_MEMBER(gfx::Rect, scroll_rect) | 228 IPC_STRUCT_MEMBER(gfx::Rect, scroll_rect) |
| 229 | 229 |
| 230 // The scroll offset of the render view. | 230 // The scroll offset of the render view. |
| 231 IPC_STRUCT_MEMBER(gfx::Point, scroll_offset) | 231 IPC_STRUCT_MEMBER(gfx::Vector2d, scroll_offset) |
| 232 | 232 |
| 233 // The regions of the bitmap (in view coords) that contain updated pixels. | 233 // The regions of the bitmap (in view coords) that contain updated pixels. |
| 234 // In the case of scrolling, this includes the scroll damage rect. | 234 // In the case of scrolling, this includes the scroll damage rect. |
| 235 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) | 235 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) |
| 236 | 236 |
| 237 // The size of the RenderView when this message was generated. This is | 237 // The size of the RenderView when this message was generated. This is |
| 238 // included so the host knows how large the view is from the perspective of | 238 // included so the host knows how large the view is from the perspective of |
| 239 // the renderer process. This is necessary in case a resize operation is in | 239 // the renderer process. This is necessary in case a resize operation is in |
| 240 // progress. If auto-resize is enabled, this should update the corresponding | 240 // progress. If auto-resize is enabled, this should update the corresponding |
| 241 // view size. | 241 // view size. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 260 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, | 260 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, |
| 261 int /* instance_id */, | 261 int /* instance_id */, |
| 262 bool /* accept */) | 262 bool /* accept */) |
| 263 | 263 |
| 264 // The guest has damage it wants to convey to the embedder so that it can | 264 // The guest has damage it wants to convey to the embedder so that it can |
| 265 // update its backing store. | 265 // update its backing store. |
| 266 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 266 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
| 267 int /* instance_id */, | 267 int /* instance_id */, |
| 268 int /* message_id */, | 268 int /* message_id */, |
| 269 BrowserPluginMsg_UpdateRect_Params) | 269 BrowserPluginMsg_UpdateRect_Params) |
| OLD | NEW |