зеркало из https://github.com/mozilla/gecko-dev.git
49 строки
1.3 KiB
C++
49 строки
1.3 KiB
C++
/* -*- 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 "RemoteCompositorSession.h"
|
|
|
|
namespace mozilla {
|
|
namespace layers {
|
|
|
|
using namespace gfx;
|
|
using namespace widget;
|
|
|
|
RemoteCompositorSession::RemoteCompositorSession(CompositorBridgeChild* aChild,
|
|
CompositorWidgetDelegate* aWidgetDelegate,
|
|
const uint64_t& aRootLayerTreeId)
|
|
: CompositorSession(aWidgetDelegate, aChild, aRootLayerTreeId)
|
|
{
|
|
}
|
|
|
|
CompositorBridgeParent*
|
|
RemoteCompositorSession::GetInProcessBridge() const
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
void
|
|
RemoteCompositorSession::SetContentController(GeckoContentController* aController)
|
|
{
|
|
MOZ_CRASH("NYI");
|
|
}
|
|
|
|
already_AddRefed<APZCTreeManager>
|
|
RemoteCompositorSession::GetAPZCTreeManager() const
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
void
|
|
RemoteCompositorSession::Shutdown()
|
|
{
|
|
mCompositorBridgeChild->Destroy();
|
|
mCompositorBridgeChild = nullptr;
|
|
mCompositorWidgetDelegate = nullptr;
|
|
}
|
|
|
|
} // namespace layers
|
|
} // namespace mozilla
|