| Index: content/common/frame_owner_properties.h
|
| diff --git a/content/common/frame_owner_properties.h b/content/common/frame_owner_properties.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d1a54de060cd26e85143bdf2e16045b46d219028
|
| --- /dev/null
|
| +++ b/content/common/frame_owner_properties.h
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_
|
| +#define CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_
|
| +
|
| +#include <vector>
|
| +
|
| +#include "third_party/WebKit/public/platform/modules/permissions/WebPermissionType.h"
|
| +#include "third_party/WebKit/public/web/WebFrameOwnerProperties.h"
|
| +
|
| +namespace content {
|
| +
|
| +// Used for IPC transport of WebFrameOwnerProperties. WebFrameOwnerProperties
|
| +// can't be used directly as it contains a WebVector which doesn't have
|
| +// ParamTraits defined.
|
| +struct FrameOwnerProperties {
|
| + FrameOwnerProperties();
|
| + FrameOwnerProperties(const FrameOwnerProperties& other);
|
| + explicit FrameOwnerProperties(
|
| + const blink::WebFrameOwnerProperties& web_frame_owner_properties);
|
| + ~FrameOwnerProperties();
|
| +
|
| + blink::WebFrameOwnerProperties ToWebFrameOwnerProperties() const;
|
| +
|
| + blink::WebFrameOwnerProperties::ScrollingMode scrolling_mode;
|
| + int margin_width;
|
| + int margin_height;
|
| + bool allow_fullscreen;
|
| + std::vector<blink::WebPermissionType> delegated_permissions;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_FRAME_OWNER_PROPERTIES_H_
|
|
|