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