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 protocol PCompositorBridge; 8 9using mozilla::LayoutDeviceIntSize from "Units.h"; 10 11namespace mozilla { 12namespace widget { 13 14sync protocol PCompositorWidget 15{ 16 manager PCompositorBridge; 17 18parent: 19 async __delete__(); 20 21 async NotifyClientSizeChanged(LayoutDeviceIntSize aClientSize); 22 23child: 24 25 async ObserveVsync(); 26 async UnobserveVsync(); 27}; 28 29} // namespace widget 30} // namespace mozilla 31