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::gfx::IntSize from "mozilla/gfx/Point.h"; 10 11namespace mozilla { 12namespace widget { 13 14sync protocol PCompositorWidget 15{ 16 manager PCompositorBridge; 17 18parent: 19 sync EnterPresentLock(); 20 sync LeavePresentLock(); 21 async UpdateTransparency(int32_t aMode); 22 sync ClearTransparentWindow(); 23 async __delete__(); 24 25child: 26 async ObserveVsync(); 27 async UnobserveVsync(); 28}; 29 30} // namespace widget 31} // namespace mozilla 32