1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 #include "mozilla/layers/ISurfaceAllocator.h"
9 #include "mozilla/layers/LayerTransaction.h"
14 typedef std::vector
<mozilla::layers::EditReply
> EditReplyVector
;
16 // Since PCompositble has two potential manager protocols, we can't just call
17 // the Manager() method usually generated when there's one manager protocol,
18 // so both manager protocols implement this and we keep a reference to them
19 // through this interface.
20 class CompositableParentManager
: public ISurfaceAllocator
24 * Handle the IPDL messages that affect PCompositable actors.
26 bool ReceiveCompositableUpdate(const CompositableOperation
& aEdit
,
27 EditReplyVector
& replyv
);
28 bool IsOnCompositorSide() const MOZ_OVERRIDE
{ return true; }