Linux: Depend on liberation-fonts package for RPMs.
[chromium-blink-merge.git] / components / mus / test_server_view_delegate.cc
blob2e927c3f67dd79bfb9d80674663adb47535090a7
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/mus/test_server_view_delegate.h"
6 #include "components/mus/server_view.h"
8 namespace mus {
10 TestServerViewDelegate::TestServerViewDelegate() : root_view_(nullptr) {}
12 TestServerViewDelegate::~TestServerViewDelegate() {}
14 scoped_ptr<cc::CompositorFrame>
15 TestServerViewDelegate::UpdateViewTreeFromCompositorFrame(
16 const mojo::CompositorFramePtr& input) {
17 return scoped_ptr<cc::CompositorFrame>();
20 SurfacesState* TestServerViewDelegate::GetSurfacesState() {
21 return nullptr;
24 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) {}
26 const ServerView* TestServerViewDelegate::GetRootView(
27 const ServerView* view) const {
28 return root_view_;
31 } // namespace mus