| 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 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 // The name of the frame associated with this view (or empty if none). | 636 // The name of the frame associated with this view (or empty if none). |
| 637 IPC_STRUCT_MEMBER(string16, frame_name) | 637 IPC_STRUCT_MEMBER(string16, frame_name) |
| 638 | 638 |
| 639 // The initial page ID to use for this view, which must be larger than any | 639 // The initial page ID to use for this view, which must be larger than any |
| 640 // existing navigation that might be loaded in the view. Page IDs are unique | 640 // existing navigation that might be loaded in the view. Page IDs are unique |
| 641 // to a view and are only updated by the renderer after this initial value. | 641 // to a view and are only updated by the renderer after this initial value. |
| 642 IPC_STRUCT_MEMBER(int32, next_page_id) | 642 IPC_STRUCT_MEMBER(int32, next_page_id) |
| 643 | 643 |
| 644 // The properties of the screen associated with the view. | 644 // The properties of the screen associated with the view. |
| 645 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) | 645 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) |
| 646 |
| 647 // Indicates whether this newly created RenderView will be hosted by another |
| 648 // RenderView. |
| 649 IPC_STRUCT_MEMBER(bool, guest) |
| 646 IPC_STRUCT_END() | 650 IPC_STRUCT_END() |
| 647 | 651 |
| 648 // Messages sent from the browser to the renderer. | 652 // Messages sent from the browser to the renderer. |
| 649 | 653 |
| 650 // Sent to the RenderView when a new tab is swapped into an existing | 654 // Sent to the RenderView when a new tab is swapped into an existing |
| 651 // tab and the histories need to be merged. The existing tab has a history of | 655 // tab and the histories need to be merged. The existing tab has a history of |
| 652 // |merged_history_length| which precedes the history of the new tab. All | 656 // |merged_history_length| which precedes the history of the new tab. All |
| 653 // page_ids >= |minimum_page_id| in the new tab are appended to the history. | 657 // page_ids >= |minimum_page_id| in the new tab are appended to the history. |
| 654 // | 658 // |
| 655 // For example, suppose the history of page_ids in the new tab's RenderView | 659 // For example, suppose the history of page_ids in the new tab's RenderView |
| (...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1965 // have a javascript send a native value (string, number, boolean) to the | 1969 // have a javascript send a native value (string, number, boolean) to the |
| 1966 // listener in Cpp. (DomAutomationController) | 1970 // listener in Cpp. (DomAutomationController) |
| 1967 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 1971 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
| 1968 std::string /* json_string */, | 1972 std::string /* json_string */, |
| 1969 int /* automation_id */) | 1973 int /* automation_id */) |
| 1970 | 1974 |
| 1971 // Enable or disable inverting of web content pixels, for users who prefer | 1975 // Enable or disable inverting of web content pixels, for users who prefer |
| 1972 // white-on-black. | 1976 // white-on-black. |
| 1973 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, | 1977 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, |
| 1974 bool /* invert */) | 1978 bool /* invert */) |
| OLD | NEW |