| 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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 // existing navigation that might be loaded in the view. Page IDs are unique | 642 // existing navigation that might be loaded in the view. Page IDs are unique |
| 643 // to a view and are only updated by the renderer after this initial value. | 643 // to a view and are only updated by the renderer after this initial value. |
| 644 IPC_STRUCT_MEMBER(int32, next_page_id) | 644 IPC_STRUCT_MEMBER(int32, next_page_id) |
| 645 | 645 |
| 646 // The properties of the screen associated with the view. | 646 // The properties of the screen associated with the view. |
| 647 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) | 647 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) |
| 648 | 648 |
| 649 // Indicates whether this newly created RenderView will be hosted by another | 649 // Indicates whether this newly created RenderView will be hosted by another |
| 650 // RenderView. | 650 // RenderView. |
| 651 IPC_STRUCT_MEMBER(bool, guest) | 651 IPC_STRUCT_MEMBER(bool, guest) |
| 652 |
| 653 // The accessibility mode of the renderer. |
| 654 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) |
| 652 IPC_STRUCT_END() | 655 IPC_STRUCT_END() |
| 653 | 656 |
| 654 // Messages sent from the browser to the renderer. | 657 // Messages sent from the browser to the renderer. |
| 655 | 658 |
| 656 // Sent to the RenderView when a new tab is swapped into an existing | 659 // Sent to the RenderView when a new tab is swapped into an existing |
| 657 // tab and the histories need to be merged. The existing tab has a history of | 660 // tab and the histories need to be merged. The existing tab has a history of |
| 658 // |merged_history_length| which precedes the history of the new tab. All | 661 // |merged_history_length| which precedes the history of the new tab. All |
| 659 // page_ids >= |minimum_page_id| in the new tab are appended to the history. | 662 // page_ids >= |minimum_page_id| in the new tab are appended to the history. |
| 660 // | 663 // |
| 661 // For example, suppose the history of page_ids in the new tab's RenderView | 664 // For example, suppose the history of page_ids in the new tab's RenderView |
| (...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1990 // have a javascript send a native value (string, number, boolean) to the | 1993 // have a javascript send a native value (string, number, boolean) to the |
| 1991 // listener in Cpp. (DomAutomationController) | 1994 // listener in Cpp. (DomAutomationController) |
| 1992 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 1995 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
| 1993 std::string /* json_string */, | 1996 std::string /* json_string */, |
| 1994 int /* automation_id */) | 1997 int /* automation_id */) |
| 1995 | 1998 |
| 1996 // Enable or disable inverting of web content pixels, for users who prefer | 1999 // Enable or disable inverting of web content pixels, for users who prefer |
| 1997 // white-on-black. | 2000 // white-on-black. |
| 1998 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, | 2001 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, |
| 1999 bool /* invert */) | 2002 bool /* invert */) |
| OLD | NEW |