gecko-dev/widget/generic/PCompositorWidget.ipdl
Jed Davis a68b63cdb3 Bug 1657401 - Prelude: rearrange IPDL files in widget/. r=spohl
The IPDL compiler searches for files in an include path made up of every
directory with any `IPDL_SOURCES` in it, which means that distinct files
shouldn't have the same name or, failing that, need to be set up so they
won't accidentally conflict.  See bug 1657712 for details.

In `widget/`, the PCompositorWidget and PlatformWidgetTypes files are
overridden on some OSes; this patch moves the general-case versions into
their own directory, so that it's possible to use the widget/ toplevel
directory for non-platform-specific IPDL without causing a filename
conflict.

Differential Revision: https://phabricator.services.mozilla.com/D94530
2020-11-11 23:17:40 +00:00

29 lines
741 B
Plaintext

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=99: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
include protocol PCompositorBridge;
// This file is a stub, for platforms that do not yet support out-of-process
// compositing or do not need specialized types to do so.
namespace mozilla {
namespace widget {
sync protocol PCompositorWidget
{
manager PCompositorBridge;
parent:
async __delete__();
child:
async ObserveVsync();
async UnobserveVsync();
};
} // namespace widget
} // namespace mozilla