OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1413 // the tag sent along with ViewMsg_PaintAtSize. | 1413 // the tag sent along with ViewMsg_PaintAtSize. |
1414 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK, | 1414 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK, |
1415 int /* tag */, | 1415 int /* tag */, |
1416 gfx::Size /* size */) | 1416 gfx::Size /* size */) |
1417 | 1417 |
1418 // Sent to update part of the view. In response to this message, the host | 1418 // Sent to update part of the view. In response to this message, the host |
1419 // generates a ViewMsg_UpdateRect_ACK message. | 1419 // generates a ViewMsg_UpdateRect_ACK message. |
1420 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1420 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
1421 ViewHostMsg_UpdateRect_Params) | 1421 ViewHostMsg_UpdateRect_Params) |
1422 | 1422 |
| 1423 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, |
| 1424 // which may get delayed until the browser's UI unblocks. |
| 1425 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) |
| 1426 |
1423 // Sent by the renderer when accelerated compositing is enabled or disabled to | 1427 // Sent by the renderer when accelerated compositing is enabled or disabled to |
1424 // notify the browser whether or not is should do painting. | 1428 // notify the browser whether or not is should do painting. |
1425 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, | 1429 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, |
1426 bool /* true if the accelerated compositor is actve */) | 1430 bool /* true if the accelerated compositor is actve */) |
1427 | 1431 |
1428 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. | 1432 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. |
1429 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK, | 1433 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK, |
1430 WebKit::WebInputEvent::Type, | 1434 WebKit::WebInputEvent::Type, |
1431 bool /* processed */) | 1435 bool /* processed */) |
1432 | 1436 |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1943 media::MediaLogEvent /* event */) | 1947 media::MediaLogEvent /* event */) |
1944 | 1948 |
1945 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1949 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1946 // being sent back. | 1950 // being sent back. |
1947 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1951 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1948 | 1952 |
1949 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1953 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1950 // whenever the mouse is unlocked (which may or may not be caused by | 1954 // whenever the mouse is unlocked (which may or may not be caused by |
1951 // ViewHostMsg_UnlockMouse). | 1955 // ViewHostMsg_UnlockMouse). |
1952 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1956 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |