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