| // Copyright 2020 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. |
| |
| module blink.mojom; |
| |
| import "third_party/blink/public/mojom/scroll/scrollbar_mode.mojom"; |
| import "third_party/blink/public/mojom/frame/color_scheme.mojom"; |
| |
| struct FrameOwnerProperties { |
| // Browsing context container's name |
| string name; |
| // Scroll bar mode |
| ScrollbarMode scrollbar_mode; |
| // Frame margin width |
| int32 margin_width; |
| // Frame margin height |
| int32 margin_height; |
| // True if the frame allows fullscreen. |
| bool allow_fullscreen; |
| // True if the frame allows payment request. |
| bool allow_payment_request; |
| // True if the frame is display:none. |
| bool is_display_none; |
| // The used value of color-scheme for the frame element. |
| ColorScheme color_scheme = ColorScheme.kLight; |
| |
| // An experimental attribute to be used by a parent frame to enforce CSP on a |
| // subframe. This is different from replicated CSP headers kept in |
| // FrameReplicationState that keep track of CSP headers currently in effect |
| // for a frame. See https://crbug.com/647588 and |
| // https://www.w3.org/TR/csp-embedded-enforcement/#required-csp |
| string required_csp; |
| }; |