1/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 2/* vim: set ts=8 sts=2 et sw=2 tw=99: */ 3/* This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7include HeadlessWidgetTypes; 8 9using mozilla::LayoutDeviceIntSize from "Units.h"; 10 11namespace mozilla { 12namespace widget { 13 14struct GtkCompositorWidgetInitData 15{ 16 uintptr_t XWindow; 17 nsCString XDisplayString; 18 bool Shaped; 19 bool IsX11Display; 20 21 LayoutDeviceIntSize InitialClientSize; 22}; 23 24union CompositorWidgetInitData 25{ 26 GtkCompositorWidgetInitData; 27 HeadlessCompositorWidgetInitData; 28}; 29 30} // namespace widget 31} // namespace mozilla 32