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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 // The session storage namespace ID this view should use. | 643 // The session storage namespace ID this view should use. |
644 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) | 644 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) |
645 | 645 |
646 // The name of the frame associated with this view (or empty if none). | 646 // The name of the frame associated with this view (or empty if none). |
647 IPC_STRUCT_MEMBER(string16, frame_name) | 647 IPC_STRUCT_MEMBER(string16, frame_name) |
648 | 648 |
649 // The initial page ID to use for this view, which must be larger than any | 649 // The initial page ID to use for this view, which must be larger than any |
650 // existing navigation that might be loaded in the view. Page IDs are unique | 650 // existing navigation that might be loaded in the view. Page IDs are unique |
651 // to a view and are only updated by the renderer after this initial value. | 651 // to a view and are only updated by the renderer after this initial value. |
652 IPC_STRUCT_MEMBER(int32, next_page_id) | 652 IPC_STRUCT_MEMBER(int32, next_page_id) |
| 653 |
| 654 // The properties of the screen associated with the view. |
| 655 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) |
653 IPC_STRUCT_END() | 656 IPC_STRUCT_END() |
654 | 657 |
655 // Messages sent from the browser to the renderer. | 658 // Messages sent from the browser to the renderer. |
656 | 659 |
657 // Sent to the RenderView when a new tab is swapped into an existing | 660 // Sent to the RenderView when a new tab is swapped into an existing |
658 // tab and the histories need to be merged. The existing tab has a history of | 661 // tab and the histories need to be merged. The existing tab has a history of |
659 // |merged_history_length| which precedes the history of the new tab. All | 662 // |merged_history_length| which precedes the history of the new tab. All |
660 // page_ids >= |minimum_page_id| in the new tab are appended to the history. | 663 // page_ids >= |minimum_page_id| in the new tab are appended to the history. |
661 // | 664 // |
662 // For example, suppose the history of page_ids in the new tab's RenderView | 665 // For example, suppose the history of page_ids in the new tab's RenderView |
(...skipping 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1992 media::MediaLogEvent /* event */) | 1995 media::MediaLogEvent /* event */) |
1993 | 1996 |
1994 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1997 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1995 // being sent back. | 1998 // being sent back. |
1996 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1999 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1997 | 2000 |
1998 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 2001 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1999 // whenever the mouse is unlocked (which may or may not be caused by | 2002 // whenever the mouse is unlocked (which may or may not be caused by |
2000 // ViewHostMsg_UnlockMouse). | 2003 // ViewHostMsg_UnlockMouse). |
2001 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 2004 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |