Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / widget / windows / PlatformWidgetTypes.ipdlh
blob67dd92b8025eaad41db92424c47aafa0c6ef1d93
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 "mozilla/dom/TabMessageUtils.h";
8 include "mozilla/widget/WidgetMessageUtils.h";
10 include HeadlessWidgetTypes;
12 using mozilla::WindowsHandle from "mozilla/ipc/IPCTypes.h";
13 using nsSizeMode from "nsIWidgetListener.h";
14 using mozilla::widget::TransparencyMode from "nsIWidget.h";
16 namespace mozilla {
17 namespace widget {
19 struct WinCompositorWidgetInitData
21   WindowsHandle hWnd;
22   uintptr_t widgetKey;
23   TransparencyMode transparencyMode;
24   nsSizeMode sizeMode;
27 union CompositorWidgetInitData
29   WinCompositorWidgetInitData;
30   HeadlessCompositorWidgetInitData;
33 } // namespace widget
34 } // namespace mozilla