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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "content/public/common/page_state.h" | 42 #include "content/public/common/page_state.h" |
43 #include "content/public/common/previews_state.h" | 43 #include "content/public/common/previews_state.h" |
44 #include "content/public/common/referrer.h" | 44 #include "content/public/common/referrer.h" |
45 #include "content/public/common/request_context_type.h" | 45 #include "content/public/common/request_context_type.h" |
46 #include "content/public/common/resource_response.h" | 46 #include "content/public/common/resource_response.h" |
47 #include "content/public/common/stop_find_action.h" | 47 #include "content/public/common/stop_find_action.h" |
48 #include "content/public/common/three_d_api_types.h" | 48 #include "content/public/common/three_d_api_types.h" |
49 #include "ipc/ipc_message_macros.h" | 49 #include "ipc/ipc_message_macros.h" |
50 #include "ipc/ipc_platform_file.h" | 50 #include "ipc/ipc_platform_file.h" |
51 #include "ppapi/features/features.h" | 51 #include "ppapi/features/features.h" |
| 52 #include "third_party/WebKit/public/platform/WebFeaturePolicy.h" |
52 #include "third_party/WebKit/public/platform/WebFocusType.h" | 53 #include "third_party/WebKit/public/platform/WebFocusType.h" |
53 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" | 54 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" |
54 #include "third_party/WebKit/public/web/WebFindOptions.h" | 55 #include "third_party/WebKit/public/web/WebFindOptions.h" |
55 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" | 56 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
56 #include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h" | 57 #include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h" |
57 #include "third_party/WebKit/public/web/WebTreeScopeType.h" | 58 #include "third_party/WebKit/public/web/WebTreeScopeType.h" |
58 #include "ui/gfx/geometry/rect.h" | 59 #include "ui/gfx/geometry/rect.h" |
59 #include "ui/gfx/geometry/rect_f.h" | 60 #include "ui/gfx/geometry/rect_f.h" |
60 #include "ui/gfx/ipc/gfx_param_traits.h" | 61 #include "ui/gfx/ipc/gfx_param_traits.h" |
61 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 62 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, | 107 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, |
107 blink::WebTreeScopeType::Last) | 108 blink::WebTreeScopeType::Last) |
108 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) | 109 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) |
109 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PreviewsState, | 110 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PreviewsState, |
110 content::PREVIEWS_UNSPECIFIED, | 111 content::PREVIEWS_UNSPECIFIED, |
111 content::PREVIEWS_STATE_LAST) | 112 content::PREVIEWS_STATE_LAST) |
112 IPC_ENUM_TRAITS_MAX_VALUE(content::FileChooserParams::Mode, | 113 IPC_ENUM_TRAITS_MAX_VALUE(content::FileChooserParams::Mode, |
113 content::FileChooserParams::Save) | 114 content::FileChooserParams::Save) |
114 IPC_ENUM_TRAITS_MAX_VALUE(content::CSPDirective::Name, | 115 IPC_ENUM_TRAITS_MAX_VALUE(content::CSPDirective::Name, |
115 content::CSPDirective::NameLast) | 116 content::CSPDirective::NameLast) |
| 117 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFeaturePolicyFeature, |
| 118 blink::WebFeaturePolicyFeature::LAST_FEATURE) |
116 | 119 |
117 IPC_STRUCT_TRAITS_BEGIN(blink::WebFindOptions) | 120 IPC_STRUCT_TRAITS_BEGIN(blink::WebFindOptions) |
118 IPC_STRUCT_TRAITS_MEMBER(forward) | 121 IPC_STRUCT_TRAITS_MEMBER(forward) |
119 IPC_STRUCT_TRAITS_MEMBER(matchCase) | 122 IPC_STRUCT_TRAITS_MEMBER(matchCase) |
120 IPC_STRUCT_TRAITS_MEMBER(findNext) | 123 IPC_STRUCT_TRAITS_MEMBER(findNext) |
121 IPC_STRUCT_TRAITS_MEMBER(force) | 124 IPC_STRUCT_TRAITS_MEMBER(force) |
122 IPC_STRUCT_TRAITS_END() | 125 IPC_STRUCT_TRAITS_END() |
123 | 126 |
124 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) | 127 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) |
125 IPC_STRUCT_TRAITS_MEMBER(color) | 128 IPC_STRUCT_TRAITS_MEMBER(color) |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 IPC_STRUCT_TRAITS_END() | 176 IPC_STRUCT_TRAITS_END() |
174 | 177 |
175 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties) | 178 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties) |
176 IPC_STRUCT_TRAITS_MEMBER(name) | 179 IPC_STRUCT_TRAITS_MEMBER(name) |
177 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode) | 180 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode) |
178 IPC_STRUCT_TRAITS_MEMBER(margin_width) | 181 IPC_STRUCT_TRAITS_MEMBER(margin_width) |
179 IPC_STRUCT_TRAITS_MEMBER(margin_height) | 182 IPC_STRUCT_TRAITS_MEMBER(margin_height) |
180 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen) | 183 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen) |
181 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request) | 184 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request) |
182 IPC_STRUCT_TRAITS_MEMBER(required_csp) | 185 IPC_STRUCT_TRAITS_MEMBER(required_csp) |
| 186 IPC_STRUCT_TRAITS_MEMBER(allowed_features) |
183 IPC_STRUCT_TRAITS_END() | 187 IPC_STRUCT_TRAITS_END() |
184 | 188 |
185 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals) | 189 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals) |
186 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction) | 190 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction) |
187 IPC_STRUCT_TRAITS_END() | 191 IPC_STRUCT_TRAITS_END() |
188 | 192 |
189 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 193 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
190 // Error code as reported in the DidFailProvisionalLoad callback. | 194 // Error code as reported in the DidFailProvisionalLoad callback. |
191 IPC_STRUCT_MEMBER(int, error_code) | 195 IPC_STRUCT_MEMBER(int, error_code) |
192 // An error message generated from the error_code. This can be an empty | 196 // An error message generated from the error_code. This can be an empty |
(...skipping 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1625 // nearest find result in the sending frame. | 1629 // nearest find result in the sending frame. |
1626 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1630 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1627 int /* nfr_request_id */, | 1631 int /* nfr_request_id */, |
1628 float /* distance */) | 1632 float /* distance */) |
1629 #endif | 1633 #endif |
1630 | 1634 |
1631 // Adding a new message? Stick to the sort order above: first platform | 1635 // Adding a new message? Stick to the sort order above: first platform |
1632 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1636 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1633 // platform independent FrameHostMsg, then ifdefs for platform specific | 1637 // platform independent FrameHostMsg, then ifdefs for platform specific |
1634 // FrameHostMsg. | 1638 // FrameHostMsg. |
OLD | NEW |