Bug 1751217 Part 3: Make HDR-capable macOS screens report 30 pixelDepth. r=mstange
[gecko.git] / widget / gtk / PlatformWidgetTypes.ipdlh
blobc85da1711e927d926486b4e28ec913106965b882
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/. */
7 include HeadlessWidgetTypes;
9 include "mozilla/GfxMessageUtils.h";
11 using mozilla::LayoutDeviceIntSize from "Units.h";
13 namespace mozilla {
14 namespace widget {
16 struct GtkCompositorWidgetInitData
18   uintptr_t           XWindow;
19   nsCString           XDisplayString;
20   bool                Shaped;
21   bool                IsX11Display;
23   LayoutDeviceIntSize InitialClientSize;
26 union CompositorWidgetInitData
28   GtkCompositorWidgetInitData;
29   HeadlessCompositorWidgetInitData;
32 } // namespace widget
33 } // namespace mozilla