| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 interacting with frames. | 5 // IPC messages for interacting with frames. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 FrameMsg_Navigate_Type::NAVIGATE_TYPE_LAST) | 90 FrameMsg_Navigate_Type::NAVIGATE_TYPE_LAST) |
| 91 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, | 91 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, |
| 92 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) | 92 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) |
| 93 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, | 93 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, |
| 94 blink::WebContextMenuData::MediaTypeLast) | 94 blink::WebContextMenuData::MediaTypeLast) |
| 95 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, | 95 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, |
| 96 blink::WebContextMenuData::InputFieldTypeLast) | 96 blink::WebContextMenuData::InputFieldTypeLast) |
| 97 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFocusType, blink::WebFocusTypeLast) | 97 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFocusType, blink::WebFocusTypeLast) |
| 98 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFrameOwnerProperties::ScrollingMode, | 98 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFrameOwnerProperties::ScrollingMode, |
| 99 blink::WebFrameOwnerProperties::ScrollingMode::Last) | 99 blink::WebFrameOwnerProperties::ScrollingMode::Last) |
| 100 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPermissionType, | |
| 101 blink::WebPermissionTypeLast) | |
| 102 IPC_ENUM_TRAITS_MAX_VALUE(content::StopFindAction, | 100 IPC_ENUM_TRAITS_MAX_VALUE(content::StopFindAction, |
| 103 content::STOP_FIND_ACTION_LAST) | 101 content::STOP_FIND_ACTION_LAST) |
| 104 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. | 102 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. |
| 105 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, | 103 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, |
| 106 blink::WebTreeScopeType::Last) | 104 blink::WebTreeScopeType::Last) |
| 107 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) | 105 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) |
| 108 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PreviewsState, | 106 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PreviewsState, |
| 109 content::PREVIEWS_UNSPECIFIED, | 107 content::PREVIEWS_UNSPECIFIED, |
| 110 content::PREVIEWS_STATE_LAST) | 108 content::PREVIEWS_STATE_LAST) |
| 111 IPC_ENUM_TRAITS_MAX_VALUE(content::FileChooserParams::Mode, | 109 IPC_ENUM_TRAITS_MAX_VALUE(content::FileChooserParams::Mode, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 IPC_STRUCT_TRAITS_END() | 168 IPC_STRUCT_TRAITS_END() |
| 171 | 169 |
| 172 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties) | 170 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties) |
| 173 IPC_STRUCT_TRAITS_MEMBER(name) | 171 IPC_STRUCT_TRAITS_MEMBER(name) |
| 174 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode) | 172 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode) |
| 175 IPC_STRUCT_TRAITS_MEMBER(margin_width) | 173 IPC_STRUCT_TRAITS_MEMBER(margin_width) |
| 176 IPC_STRUCT_TRAITS_MEMBER(margin_height) | 174 IPC_STRUCT_TRAITS_MEMBER(margin_height) |
| 177 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen) | 175 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen) |
| 178 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request) | 176 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request) |
| 179 IPC_STRUCT_TRAITS_MEMBER(required_csp) | 177 IPC_STRUCT_TRAITS_MEMBER(required_csp) |
| 180 IPC_STRUCT_TRAITS_MEMBER(delegated_permissions) | |
| 181 IPC_STRUCT_TRAITS_END() | 178 IPC_STRUCT_TRAITS_END() |
| 182 | 179 |
| 183 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals) | 180 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals) |
| 184 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction) | 181 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction) |
| 185 IPC_STRUCT_TRAITS_END() | 182 IPC_STRUCT_TRAITS_END() |
| 186 | 183 |
| 187 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 184 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
| 188 // Error code as reported in the DidFailProvisionalLoad callback. | 185 // Error code as reported in the DidFailProvisionalLoad callback. |
| 189 IPC_STRUCT_MEMBER(int, error_code) | 186 IPC_STRUCT_MEMBER(int, error_code) |
| 190 // An error message generated from the error_code. This can be an empty | 187 // An error message generated from the error_code. This can be an empty |
| (...skipping 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1576 // nearest find result in the sending frame. | 1573 // nearest find result in the sending frame. |
| 1577 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1574 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1578 int /* nfr_request_id */, | 1575 int /* nfr_request_id */, |
| 1579 float /* distance */) | 1576 float /* distance */) |
| 1580 #endif | 1577 #endif |
| 1581 | 1578 |
| 1582 // Adding a new message? Stick to the sort order above: first platform | 1579 // Adding a new message? Stick to the sort order above: first platform |
| 1583 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1580 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1584 // platform independent FrameHostMsg, then ifdefs for platform specific | 1581 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1585 // FrameHostMsg. | 1582 // FrameHostMsg. |
| OLD | NEW |