Chromium Code Reviews| 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 29 matching lines...) Expand all Loading... | |
| 40 #include "content/public/common/page_state.h" | 40 #include "content/public/common/page_state.h" |
| 41 #include "content/public/common/previews_state.h" | 41 #include "content/public/common/previews_state.h" |
| 42 #include "content/public/common/referrer.h" | 42 #include "content/public/common/referrer.h" |
| 43 #include "content/public/common/request_context_type.h" | 43 #include "content/public/common/request_context_type.h" |
| 44 #include "content/public/common/resource_response.h" | 44 #include "content/public/common/resource_response.h" |
| 45 #include "content/public/common/stop_find_action.h" | 45 #include "content/public/common/stop_find_action.h" |
| 46 #include "content/public/common/three_d_api_types.h" | 46 #include "content/public/common/three_d_api_types.h" |
| 47 #include "ipc/ipc_message_macros.h" | 47 #include "ipc/ipc_message_macros.h" |
| 48 #include "ipc/ipc_platform_file.h" | 48 #include "ipc/ipc_platform_file.h" |
| 49 #include "ppapi/features/features.h" | 49 #include "ppapi/features/features.h" |
| 50 #include "third_party/WebKit/public/platform/WebFeaturePolicy.h" | |
| 50 #include "third_party/WebKit/public/platform/WebFocusType.h" | 51 #include "third_party/WebKit/public/platform/WebFocusType.h" |
| 51 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" | 52 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" |
| 52 #include "third_party/WebKit/public/web/WebFindOptions.h" | 53 #include "third_party/WebKit/public/web/WebFindOptions.h" |
| 53 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" | 54 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
| 54 #include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h" | 55 #include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h" |
| 55 #include "third_party/WebKit/public/web/WebTreeScopeType.h" | 56 #include "third_party/WebKit/public/web/WebTreeScopeType.h" |
| 56 #include "ui/gfx/geometry/rect.h" | 57 #include "ui/gfx/geometry/rect.h" |
| 57 #include "ui/gfx/geometry/rect_f.h" | 58 #include "ui/gfx/geometry/rect_f.h" |
| 58 #include "ui/gfx/ipc/gfx_param_traits.h" | 59 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 59 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 60 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 161 IPC_STRUCT_TRAITS_MEMBER(input_field_type) | 162 IPC_STRUCT_TRAITS_MEMBER(input_field_type) |
| 162 IPC_STRUCT_TRAITS_END() | 163 IPC_STRUCT_TRAITS_END() |
| 163 | 164 |
| 164 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext) | 165 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext) |
| 165 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) | 166 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) |
| 166 IPC_STRUCT_TRAITS_MEMBER(request_id) | 167 IPC_STRUCT_TRAITS_MEMBER(request_id) |
| 167 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) | 168 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) |
| 168 IPC_STRUCT_TRAITS_MEMBER(link_followed) | 169 IPC_STRUCT_TRAITS_MEMBER(link_followed) |
| 169 IPC_STRUCT_TRAITS_END() | 170 IPC_STRUCT_TRAITS_END() |
| 170 | 171 |
| 172 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebFeaturePolicyFeature, | |
|
iclelland
2017/02/16 15:26:33
There's another block, at the top of this file, wi
lunalu1
2017/02/16 20:16:15
Done.
| |
| 173 blink::WebFeaturePolicyFeature::NotFound, | |
| 174 blink::WebFeaturePolicyFeature::LAST_FEATURE) | |
| 175 | |
| 171 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties) | 176 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties) |
| 172 IPC_STRUCT_TRAITS_MEMBER(name) | 177 IPC_STRUCT_TRAITS_MEMBER(name) |
| 173 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode) | 178 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode) |
| 174 IPC_STRUCT_TRAITS_MEMBER(margin_width) | 179 IPC_STRUCT_TRAITS_MEMBER(margin_width) |
| 175 IPC_STRUCT_TRAITS_MEMBER(margin_height) | 180 IPC_STRUCT_TRAITS_MEMBER(margin_height) |
| 176 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen) | 181 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen) |
| 177 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request) | 182 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request) |
| 178 IPC_STRUCT_TRAITS_MEMBER(required_csp) | 183 IPC_STRUCT_TRAITS_MEMBER(required_csp) |
| 184 IPC_STRUCT_TRAITS_MEMBER(allowed_feature_names) | |
| 179 IPC_STRUCT_TRAITS_END() | 185 IPC_STRUCT_TRAITS_END() |
| 180 | 186 |
| 181 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals) | 187 IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals) |
| 182 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction) | 188 IPC_STRUCT_TRAITS_MEMBER(had_form_interaction) |
| 183 IPC_STRUCT_TRAITS_END() | 189 IPC_STRUCT_TRAITS_END() |
| 184 | 190 |
| 185 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 191 IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
| 186 // Error code as reported in the DidFailProvisionalLoad callback. | 192 // Error code as reported in the DidFailProvisionalLoad callback. |
| 187 IPC_STRUCT_MEMBER(int, error_code) | 193 IPC_STRUCT_MEMBER(int, error_code) |
| 188 // An error message generated from the error_code. This can be an empty | 194 // An error message generated from the error_code. This can be an empty |
| (...skipping 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1590 // nearest find result in the sending frame. | 1596 // nearest find result in the sending frame. |
| 1591 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1597 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1592 int /* nfr_request_id */, | 1598 int /* nfr_request_id */, |
| 1593 float /* distance */) | 1599 float /* distance */) |
| 1594 #endif | 1600 #endif |
| 1595 | 1601 |
| 1596 // Adding a new message? Stick to the sort order above: first platform | 1602 // Adding a new message? Stick to the sort order above: first platform |
| 1597 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1603 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1598 // platform independent FrameHostMsg, then ifdefs for platform specific | 1604 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1599 // FrameHostMsg. | 1605 // FrameHostMsg. |
| OLD | NEW |