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 "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "cc/surfaces/surface_id.h" | 9 #include "cc/surfaces/surface_id.h" |
10 #include "cc/surfaces/surface_sequence.h" | 10 #include "cc/surfaces/surface_sequence.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, | 57 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, |
58 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) | 58 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) |
59 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, | 59 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, |
60 blink::WebContextMenuData::MediaTypeLast) | 60 blink::WebContextMenuData::MediaTypeLast) |
61 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, | 61 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, |
62 blink::WebContextMenuData::InputFieldTypeLast) | 62 blink::WebContextMenuData::InputFieldTypeLast) |
63 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. | 63 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. |
64 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, | 64 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, |
65 blink::WebTreeScopeType::Last) | 65 blink::WebTreeScopeType::Last) |
66 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) | 66 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) |
| 67 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::LoFiState, |
| 68 content::LOFI_ON, |
| 69 content::LOFI_DEFAULT) |
67 | 70 |
68 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) | 71 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) |
69 IPC_STRUCT_TRAITS_MEMBER(color) | 72 IPC_STRUCT_TRAITS_MEMBER(color) |
70 IPC_STRUCT_TRAITS_MEMBER(label) | 73 IPC_STRUCT_TRAITS_MEMBER(label) |
71 IPC_STRUCT_TRAITS_END() | 74 IPC_STRUCT_TRAITS_END() |
72 | 75 |
73 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) | 76 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) |
74 IPC_STRUCT_TRAITS_MEMBER(media_type) | 77 IPC_STRUCT_TRAITS_MEMBER(media_type) |
75 IPC_STRUCT_TRAITS_MEMBER(x) | 78 IPC_STRUCT_TRAITS_MEMBER(x) |
76 IPC_STRUCT_TRAITS_MEMBER(y) | 79 IPC_STRUCT_TRAITS_MEMBER(y) |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 IPC_STRUCT_TRAITS_MEMBER(page_state) | 303 IPC_STRUCT_TRAITS_MEMBER(page_state) |
301 IPC_STRUCT_TRAITS_MEMBER(page_id) | 304 IPC_STRUCT_TRAITS_MEMBER(page_id) |
302 IPC_STRUCT_TRAITS_MEMBER(nav_entry_id) | 305 IPC_STRUCT_TRAITS_MEMBER(nav_entry_id) |
303 IPC_STRUCT_TRAITS_MEMBER(is_same_document_history_load) | 306 IPC_STRUCT_TRAITS_MEMBER(is_same_document_history_load) |
304 IPC_STRUCT_TRAITS_MEMBER(has_committed_real_load) | 307 IPC_STRUCT_TRAITS_MEMBER(has_committed_real_load) |
305 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry) | 308 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry) |
306 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset) | 309 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset) |
307 IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset) | 310 IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset) |
308 IPC_STRUCT_TRAITS_MEMBER(current_history_list_length) | 311 IPC_STRUCT_TRAITS_MEMBER(current_history_list_length) |
309 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list) | 312 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list) |
| 313 IPC_STRUCT_TRAITS_MEMBER(lofi_state) |
310 IPC_STRUCT_TRAITS_END() | 314 IPC_STRUCT_TRAITS_END() |
311 | 315 |
312 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) | 316 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) |
313 IPC_STRUCT_TRAITS_MEMBER(origin) | 317 IPC_STRUCT_TRAITS_MEMBER(origin) |
314 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) | 318 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) |
315 IPC_STRUCT_TRAITS_MEMBER(name) | 319 IPC_STRUCT_TRAITS_MEMBER(name) |
316 IPC_STRUCT_TRAITS_END() | 320 IPC_STRUCT_TRAITS_END() |
317 | 321 |
318 IPC_STRUCT_BEGIN(FrameMsg_NewFrame_WidgetParams) | 322 IPC_STRUCT_BEGIN(FrameMsg_NewFrame_WidgetParams) |
319 // Gives the routing ID for the RenderWidget that will be attached to the | 323 // Gives the routing ID for the RenderWidget that will be attached to the |
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1186 // for details. | 1190 // for details. |
1187 IPC_SYNC_MESSAGE_CONTROL2_0(FrameHostMsg_PreCacheFontCharacters, | 1191 IPC_SYNC_MESSAGE_CONTROL2_0(FrameHostMsg_PreCacheFontCharacters, |
1188 LOGFONT /* font_data */, | 1192 LOGFONT /* font_data */, |
1189 base::string16 /* characters */) | 1193 base::string16 /* characters */) |
1190 #endif | 1194 #endif |
1191 | 1195 |
1192 // Adding a new message? Stick to the sort order above: first platform | 1196 // Adding a new message? Stick to the sort order above: first platform |
1193 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1197 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1194 // platform independent FrameHostMsg, then ifdefs for platform specific | 1198 // platform independent FrameHostMsg, then ifdefs for platform specific |
1195 // FrameHostMsg. | 1199 // FrameHostMsg. |
OLD | NEW |