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 19 matching lines...) Expand all Loading... |
30 #include "content/public/common/common_param_traits.h" | 30 #include "content/public/common/common_param_traits.h" |
31 #include "content/public/common/console_message_level.h" | 31 #include "content/public/common/console_message_level.h" |
32 #include "content/public/common/context_menu_params.h" | 32 #include "content/public/common/context_menu_params.h" |
33 #include "content/public/common/file_chooser_file_info.h" | 33 #include "content/public/common/file_chooser_file_info.h" |
34 #include "content/public/common/file_chooser_params.h" | 34 #include "content/public/common/file_chooser_params.h" |
35 #include "content/public/common/form_field_data.h" | 35 #include "content/public/common/form_field_data.h" |
36 #include "content/public/common/frame_navigate_params.h" | 36 #include "content/public/common/frame_navigate_params.h" |
37 #include "content/public/common/javascript_message_type.h" | 37 #include "content/public/common/javascript_message_type.h" |
38 #include "content/public/common/page_importance_signals.h" | 38 #include "content/public/common/page_importance_signals.h" |
39 #include "content/public/common/page_state.h" | 39 #include "content/public/common/page_state.h" |
| 40 #include "content/public/common/previews_state.h" |
40 #include "content/public/common/resource_response.h" | 41 #include "content/public/common/resource_response.h" |
41 #include "content/public/common/stop_find_action.h" | 42 #include "content/public/common/stop_find_action.h" |
42 #include "content/public/common/three_d_api_types.h" | 43 #include "content/public/common/three_d_api_types.h" |
43 #include "ipc/ipc_message_macros.h" | 44 #include "ipc/ipc_message_macros.h" |
44 #include "ipc/ipc_platform_file.h" | 45 #include "ipc/ipc_platform_file.h" |
45 #include "ppapi/features/features.h" | 46 #include "ppapi/features/features.h" |
46 #include "third_party/WebKit/public/platform/WebFocusType.h" | 47 #include "third_party/WebKit/public/platform/WebFocusType.h" |
47 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" | 48 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" |
48 #include "third_party/WebKit/public/web/WebFindOptions.h" | 49 #include "third_party/WebKit/public/web/WebFindOptions.h" |
49 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" | 50 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFrameOwnerProperties::ScrollingMode, | 96 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFrameOwnerProperties::ScrollingMode, |
96 blink::WebFrameOwnerProperties::ScrollingMode::Last) | 97 blink::WebFrameOwnerProperties::ScrollingMode::Last) |
97 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPermissionType, | 98 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPermissionType, |
98 blink::WebPermissionTypeLast) | 99 blink::WebPermissionTypeLast) |
99 IPC_ENUM_TRAITS_MAX_VALUE(content::StopFindAction, | 100 IPC_ENUM_TRAITS_MAX_VALUE(content::StopFindAction, |
100 content::STOP_FIND_ACTION_LAST) | 101 content::STOP_FIND_ACTION_LAST) |
101 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. | 102 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. |
102 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, | 103 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, |
103 blink::WebTreeScopeType::Last) | 104 blink::WebTreeScopeType::Last) |
104 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) |
105 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::LoFiState, | 106 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PreviewsState, |
106 content::LOFI_UNSPECIFIED, | 107 content::PREVIEWS_UNSPECIFIED, |
107 content::LOFI_ON) | 108 content::PREVIEWS_STATE_LAST) |
108 IPC_ENUM_TRAITS_MAX_VALUE(content::FileChooserParams::Mode, | 109 IPC_ENUM_TRAITS_MAX_VALUE(content::FileChooserParams::Mode, |
109 content::FileChooserParams::Save) | 110 content::FileChooserParams::Save) |
110 | 111 |
111 IPC_STRUCT_TRAITS_BEGIN(blink::WebFindOptions) | 112 IPC_STRUCT_TRAITS_BEGIN(blink::WebFindOptions) |
112 IPC_STRUCT_TRAITS_MEMBER(forward) | 113 IPC_STRUCT_TRAITS_MEMBER(forward) |
113 IPC_STRUCT_TRAITS_MEMBER(matchCase) | 114 IPC_STRUCT_TRAITS_MEMBER(matchCase) |
114 IPC_STRUCT_TRAITS_MEMBER(findNext) | 115 IPC_STRUCT_TRAITS_MEMBER(findNext) |
115 IPC_STRUCT_TRAITS_MEMBER(force) | 116 IPC_STRUCT_TRAITS_MEMBER(force) |
116 IPC_STRUCT_TRAITS_END() | 117 IPC_STRUCT_TRAITS_END() |
117 | 118 |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 IPC_STRUCT_TRAITS_MEMBER(url) | 327 IPC_STRUCT_TRAITS_MEMBER(url) |
327 IPC_STRUCT_TRAITS_MEMBER(referrer) | 328 IPC_STRUCT_TRAITS_MEMBER(referrer) |
328 IPC_STRUCT_TRAITS_MEMBER(transition) | 329 IPC_STRUCT_TRAITS_MEMBER(transition) |
329 IPC_STRUCT_TRAITS_MEMBER(navigation_type) | 330 IPC_STRUCT_TRAITS_MEMBER(navigation_type) |
330 IPC_STRUCT_TRAITS_MEMBER(allow_download) | 331 IPC_STRUCT_TRAITS_MEMBER(allow_download) |
331 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) | 332 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) |
332 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) | 333 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) |
333 IPC_STRUCT_TRAITS_MEMBER(report_type) | 334 IPC_STRUCT_TRAITS_MEMBER(report_type) |
334 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) | 335 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) |
335 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) | 336 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) |
336 IPC_STRUCT_TRAITS_MEMBER(lofi_state) | 337 IPC_STRUCT_TRAITS_MEMBER(previews_state) |
337 IPC_STRUCT_TRAITS_MEMBER(navigation_start) | 338 IPC_STRUCT_TRAITS_MEMBER(navigation_start) |
338 IPC_STRUCT_TRAITS_MEMBER(method) | 339 IPC_STRUCT_TRAITS_MEMBER(method) |
339 IPC_STRUCT_TRAITS_MEMBER(post_data) | 340 IPC_STRUCT_TRAITS_MEMBER(post_data) |
340 IPC_STRUCT_TRAITS_END() | 341 IPC_STRUCT_TRAITS_END() |
341 | 342 |
342 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) | 343 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) |
343 IPC_STRUCT_TRAITS_MEMBER(headers) | 344 IPC_STRUCT_TRAITS_MEMBER(headers) |
344 IPC_STRUCT_TRAITS_MEMBER(load_flags) | 345 IPC_STRUCT_TRAITS_MEMBER(load_flags) |
345 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 346 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
346 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) | 347 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) |
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 // nearest find result in the sending frame. | 1511 // nearest find result in the sending frame. |
1511 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1512 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1512 int /* nfr_request_id */, | 1513 int /* nfr_request_id */, |
1513 float /* distance */) | 1514 float /* distance */) |
1514 #endif | 1515 #endif |
1515 | 1516 |
1516 // Adding a new message? Stick to the sort order above: first platform | 1517 // Adding a new message? Stick to the sort order above: first platform |
1517 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1518 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1518 // platform independent FrameHostMsg, then ifdefs for platform specific | 1519 // platform independent FrameHostMsg, then ifdefs for platform specific |
1519 // FrameHostMsg. | 1520 // FrameHostMsg. |
OLD | NEW |