Chromium Code Reviews| 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. | |
|
alexmos
2016/07/14 23:44:13
Maybe expand this comment to explain why WebFrameO
raymes
2016/07/18 03:39:28
Done.
| |
| 16 struct FrameOwnerProperties { | |
| 17 FrameOwnerProperties(); | |
| 18 FrameOwnerProperties(const FrameOwnerProperties& other); | |
| 19 explicit FrameOwnerProperties( | |
| 20 const blink::WebFrameOwnerProperties& web_frame_owner_properties); | |
| 21 ~FrameOwnerProperties(); | |
| 22 | |
| 23 blink::WebFrameOwnerProperties ToWebFrameOwnerProperties() const; | |
| 24 | |
| 25 blink::WebFrameOwnerProperties::ScrollingMode scrolling_mode; | |
| 26 int margin_width; | |
| 27 int margin_height; | |
| 28 bool allow_fullscreen; | |
| 29 std::vector<blink::WebPermissionType> delegated_permissions; | |
| 30 }; | |
| 31 | |
| 32 } // namespace content | |
| 33 | |
| 34 #endif // CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_ | |
| OLD | NEW |