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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 // The session storage namespace ID this view should use. | 616 // The session storage namespace ID this view should use. |
617 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) | 617 IPC_STRUCT_MEMBER(int64, session_storage_namespace_id) |
618 | 618 |
619 // The name of the frame associated with this view (or empty if none). | 619 // The name of the frame associated with this view (or empty if none). |
620 IPC_STRUCT_MEMBER(string16, frame_name) | 620 IPC_STRUCT_MEMBER(string16, frame_name) |
621 | 621 |
622 // The initial page ID to use for this view, which must be larger than any | 622 // The initial page ID to use for this view, which must be larger than any |
623 // existing navigation that might be loaded in the view. Page IDs are unique | 623 // existing navigation that might be loaded in the view. Page IDs are unique |
624 // to a view and are only updated by the renderer after this initial value. | 624 // to a view and are only updated by the renderer after this initial value. |
625 IPC_STRUCT_MEMBER(int32, next_page_id) | 625 IPC_STRUCT_MEMBER(int32, next_page_id) |
| 626 |
| 627 // The properties of the screen associated with the view. |
| 628 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) |
626 IPC_STRUCT_END() | 629 IPC_STRUCT_END() |
627 | 630 |
628 // Messages sent from the browser to the renderer. | 631 // Messages sent from the browser to the renderer. |
629 | 632 |
630 // Sent to the RenderView when a new tab is swapped into an existing | 633 // Sent to the RenderView when a new tab is swapped into an existing |
631 // tab and the histories need to be merged. The existing tab has a history of | 634 // tab and the histories need to be merged. The existing tab has a history of |
632 // |merged_history_length| which precedes the history of the new tab. All | 635 // |merged_history_length| which precedes the history of the new tab. All |
633 // page_ids >= |minimum_page_id| in the new tab are appended to the history. | 636 // page_ids >= |minimum_page_id| in the new tab are appended to the history. |
634 // | 637 // |
635 // For example, suppose the history of page_ids in the new tab's RenderView | 638 // For example, suppose the history of page_ids in the new tab's RenderView |
(...skipping 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1942 // have a javascript send a native value (string, number, boolean) to the | 1945 // have a javascript send a native value (string, number, boolean) to the |
1943 // listener in Cpp. (DomAutomationController) | 1946 // listener in Cpp. (DomAutomationController) |
1944 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 1947 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
1945 std::string /* json_string */, | 1948 std::string /* json_string */, |
1946 int /* automation_id */) | 1949 int /* automation_id */) |
1947 | 1950 |
1948 // Enable or disable inverting of web content pixels, for users who prefer | 1951 // Enable or disable inverting of web content pixels, for users who prefer |
1949 // white-on-black. | 1952 // white-on-black. |
1950 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, | 1953 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, |
1951 bool /* invert */) | 1954 bool /* invert */) |
OLD | NEW |