| 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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "base/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 // The regions of the bitmap (in view coords) that contain updated pixels. | 502 // The regions of the bitmap (in view coords) that contain updated pixels. |
| 503 // In the case of scrolling, this includes the scroll damage rect. | 503 // In the case of scrolling, this includes the scroll damage rect. |
| 504 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) | 504 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) |
| 505 | 505 |
| 506 // The size of the RenderView when this message was generated. This is | 506 // The size of the RenderView when this message was generated. This is |
| 507 // included so the host knows how large the view is from the perspective of | 507 // included so the host knows how large the view is from the perspective of |
| 508 // the renderer process. This is necessary in case a resize operation is in | 508 // the renderer process. This is necessary in case a resize operation is in |
| 509 // progress. | 509 // progress. |
| 510 IPC_STRUCT_MEMBER(gfx::Size, view_size) | 510 IPC_STRUCT_MEMBER(gfx::Size, view_size) |
| 511 | 511 |
| 512 // The area of the RenderView reserved for resize corner when this message | |
| 513 // was generated. Reported for the same reason as view_size is. | |
| 514 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) | |
| 515 | |
| 516 // New window locations for plugin child windows. | 512 // New window locations for plugin child windows. |
| 517 IPC_STRUCT_MEMBER(std::vector<webkit::npapi::WebPluginGeometry>, | 513 IPC_STRUCT_MEMBER(std::vector<webkit::npapi::WebPluginGeometry>, |
| 518 plugin_window_moves) | 514 plugin_window_moves) |
| 519 | 515 |
| 520 // The following describes the various bits that may be set in flags: | 516 // The following describes the various bits that may be set in flags: |
| 521 // | 517 // |
| 522 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK | 518 // ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK |
| 523 // Indicates that this is a response to a ViewMsg_Resize message. | 519 // Indicates that this is a response to a ViewMsg_Resize message. |
| 524 // | 520 // |
| 525 // ViewHostMsg_UpdateRect_Flags::IS_RESTORE_ACK | 521 // ViewHostMsg_UpdateRect_Flags::IS_RESTORE_ACK |
| (...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1981 media::MediaLogEvent /* event */) | 1977 media::MediaLogEvent /* event */) |
| 1982 | 1978 |
| 1983 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1979 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
| 1984 // being sent back. | 1980 // being sent back. |
| 1985 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1981 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
| 1986 | 1982 |
| 1987 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1983 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
| 1988 // whenever the mouse is unlocked (which may or may not be caused by | 1984 // whenever the mouse is unlocked (which may or may not be caused by |
| 1989 // ViewHostMsg_UnlockMouse). | 1985 // ViewHostMsg_UnlockMouse). |
| 1990 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1986 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
| OLD | NEW |