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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
584 IPC_STRUCT_MEMBER(std::string, state) | 584 IPC_STRUCT_MEMBER(std::string, state) |
585 | 585 |
586 // Type of navigation. | 586 // Type of navigation. |
587 IPC_STRUCT_MEMBER(ViewMsg_Navigate_Type::Value, navigation_type) | 587 IPC_STRUCT_MEMBER(ViewMsg_Navigate_Type::Value, navigation_type) |
588 | 588 |
589 // The time the request was created | 589 // The time the request was created |
590 IPC_STRUCT_MEMBER(base::Time, request_time) | 590 IPC_STRUCT_MEMBER(base::Time, request_time) |
591 | 591 |
592 // Extra headers (separated by \n) to send during the request. | 592 // Extra headers (separated by \n) to send during the request. |
593 IPC_STRUCT_MEMBER(std::string, extra_headers) | 593 IPC_STRUCT_MEMBER(std::string, extra_headers) |
| 594 |
| 595 // The following two members identify a previous request that has been |
| 596 // created before this navigation is being transferred to a new render view. |
| 597 // This serves the purpose of recycling the old request. |
| 598 // Unless this refers to a transferred navigation, these values are -1 and -1. |
| 599 IPC_STRUCT_MEMBER(int, transferred_request_child_id) |
| 600 IPC_STRUCT_MEMBER(int, transferred_request_request_id) |
594 IPC_STRUCT_END() | 601 IPC_STRUCT_END() |
595 | 602 |
596 IPC_STRUCT_BEGIN(ViewMsg_New_Params) | 603 IPC_STRUCT_BEGIN(ViewMsg_New_Params) |
597 // The parent window's id. | 604 // The parent window's id. |
598 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) | 605 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) |
599 | 606 |
600 // Renderer-wide preferences. | 607 // Renderer-wide preferences. |
601 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) | 608 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) |
602 | 609 |
603 // Preferences for this view. | 610 // Preferences for this view. |
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1936 media::MediaLogEvent /* event */) | 1943 media::MediaLogEvent /* event */) |
1937 | 1944 |
1938 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1945 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1939 // being sent back. | 1946 // being sent back. |
1940 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1947 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1941 | 1948 |
1942 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1949 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1943 // whenever the mouse is unlocked (which may or may not be caused by | 1950 // whenever the mouse is unlocked (which may or may not be caused by |
1944 // ViewHostMsg_UnlockMouse). | 1951 // ViewHostMsg_UnlockMouse). |
1945 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1952 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |