blob: a26b8a3b44316369ba0e3f21a5326ecb62dd5b1c [file] [log] [blame]
// 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.
module blink.mojom;
struct WindowFeatures {
float x;
bool has_x = false;
float y;
bool has_y = false;
float width;
bool has_width = false;
float height;
bool has_height = false;
bool menu_bar_visible = true;
bool status_bar_visible = true;
bool tool_bar_visible = true;
bool location_bar_visible = true;
bool scrollbars_visible = true;
bool resizable = true;
bool fullscreen = false;
bool dialog = false;
// NOTE: WebWindowFeatures::additionalFeatures is not mirrored by this
// mojom struct as it's never used by the browser and therefore doesn't need
// to be sent.
};