OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_ |
| 6 #define CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_ |
| 7 |
| 8 #include <vector> |
| 9 |
| 10 #include "third_party/WebKit/public/platform/modules/permissions/WebPermissionTy
pe.h" |
| 11 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
| 12 |
| 13 namespace content { |
| 14 |
| 15 // Used for IPC transport of WebFrameOwnerProperties. WebFrameOwnerProperties |
| 16 // can't be used directly as it contains a WebVector which doesn't have |
| 17 // ParamTraits defined. |
| 18 struct FrameOwnerProperties { |
| 19 FrameOwnerProperties(); |
| 20 FrameOwnerProperties(const FrameOwnerProperties& other); |
| 21 explicit FrameOwnerProperties( |
| 22 const blink::WebFrameOwnerProperties& web_frame_owner_properties); |
| 23 ~FrameOwnerProperties(); |
| 24 |
| 25 blink::WebFrameOwnerProperties ToWebFrameOwnerProperties() const; |
| 26 |
| 27 blink::WebFrameOwnerProperties::ScrollingMode scrolling_mode; |
| 28 int margin_width; |
| 29 int margin_height; |
| 30 bool allow_fullscreen; |
| 31 std::vector<blink::WebPermissionType> delegated_permissions; |
| 32 }; |
| 33 |
| 34 } // namespace content |
| 35 |
| 36 #endif // CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_ |
OLD | NEW |