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 "cc/surfaces/surface_id.h" | 8 #include "cc/surfaces/surface_id.h" |
9 #include "cc/surfaces/surface_sequence.h" | 9 #include "cc/surfaces/surface_sequence.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, | 53 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, |
54 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) | 54 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) |
55 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, | 55 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, |
56 blink::WebContextMenuData::MediaTypeLast) | 56 blink::WebContextMenuData::MediaTypeLast) |
57 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, | 57 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, |
58 blink::WebContextMenuData::InputFieldTypeLast) | 58 blink::WebContextMenuData::InputFieldTypeLast) |
59 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. | 59 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. |
60 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, | 60 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, |
61 blink::WebTreeScopeType::Last) | 61 blink::WebTreeScopeType::Last) |
62 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) | 62 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) |
| 63 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::LoFiState, |
| 64 content::LOFI_UNSPECIFIED, |
| 65 content::LOFI_ON) |
63 | 66 |
64 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) | 67 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) |
65 IPC_STRUCT_TRAITS_MEMBER(color) | 68 IPC_STRUCT_TRAITS_MEMBER(color) |
66 IPC_STRUCT_TRAITS_MEMBER(label) | 69 IPC_STRUCT_TRAITS_MEMBER(label) |
67 IPC_STRUCT_TRAITS_END() | 70 IPC_STRUCT_TRAITS_END() |
68 | 71 |
69 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) | 72 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) |
70 IPC_STRUCT_TRAITS_MEMBER(media_type) | 73 IPC_STRUCT_TRAITS_MEMBER(media_type) |
71 IPC_STRUCT_TRAITS_MEMBER(x) | 74 IPC_STRUCT_TRAITS_MEMBER(x) |
72 IPC_STRUCT_TRAITS_MEMBER(y) | 75 IPC_STRUCT_TRAITS_MEMBER(y) |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 IPC_STRUCT_TRAITS_MEMBER(url) | 266 IPC_STRUCT_TRAITS_MEMBER(url) |
264 IPC_STRUCT_TRAITS_MEMBER(referrer) | 267 IPC_STRUCT_TRAITS_MEMBER(referrer) |
265 IPC_STRUCT_TRAITS_MEMBER(transition) | 268 IPC_STRUCT_TRAITS_MEMBER(transition) |
266 IPC_STRUCT_TRAITS_MEMBER(navigation_type) | 269 IPC_STRUCT_TRAITS_MEMBER(navigation_type) |
267 IPC_STRUCT_TRAITS_MEMBER(allow_download) | 270 IPC_STRUCT_TRAITS_MEMBER(allow_download) |
268 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) | 271 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) |
269 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) | 272 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) |
270 IPC_STRUCT_TRAITS_MEMBER(report_type) | 273 IPC_STRUCT_TRAITS_MEMBER(report_type) |
271 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) | 274 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) |
272 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) | 275 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) |
| 276 IPC_STRUCT_TRAITS_MEMBER(lofi_state) |
273 IPC_STRUCT_TRAITS_END() | 277 IPC_STRUCT_TRAITS_END() |
274 | 278 |
275 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) | 279 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) |
276 IPC_STRUCT_TRAITS_MEMBER(method) | 280 IPC_STRUCT_TRAITS_MEMBER(method) |
277 IPC_STRUCT_TRAITS_MEMBER(headers) | 281 IPC_STRUCT_TRAITS_MEMBER(headers) |
278 IPC_STRUCT_TRAITS_MEMBER(load_flags) | 282 IPC_STRUCT_TRAITS_MEMBER(load_flags) |
279 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 283 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
280 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) | 284 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) |
281 IPC_STRUCT_TRAITS_MEMBER(request_context_type) | 285 IPC_STRUCT_TRAITS_MEMBER(request_context_type) |
282 IPC_STRUCT_TRAITS_END() | 286 IPC_STRUCT_TRAITS_END() |
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1196 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1200 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1197 FrameHostMsg_ShowPopup_Params) | 1201 FrameHostMsg_ShowPopup_Params) |
1198 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1202 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1199 | 1203 |
1200 #endif | 1204 #endif |
1201 | 1205 |
1202 // Adding a new message? Stick to the sort order above: first platform | 1206 // Adding a new message? Stick to the sort order above: first platform |
1203 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1207 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1204 // platform independent FrameHostMsg, then ifdefs for platform specific | 1208 // platform independent FrameHostMsg, then ifdefs for platform specific |
1205 // FrameHostMsg. | 1209 // FrameHostMsg. |
OLD | NEW |