cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / components / view_manager / test_server_view_delegate.cc
blobdb056a688982d1097c4d981221c47a8e93de933f
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/view_manager/test_server_view_delegate.h"
6 #include "components/view_manager/server_view.h"
8 namespace view_manager {
10 TestServerViewDelegate::TestServerViewDelegate() : root_view_(nullptr) {
13 TestServerViewDelegate::~TestServerViewDelegate() {
16 scoped_ptr<cc::CompositorFrame>
17 TestServerViewDelegate::UpdateViewTreeFromCompositorFrame(
18 const mojo::CompositorFramePtr& input) {
19 return scoped_ptr<cc::CompositorFrame>();
22 surfaces::SurfacesState* TestServerViewDelegate::GetSurfacesState() {
23 return nullptr;
26 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) {
29 const ServerView* TestServerViewDelegate::GetRootView(
30 const ServerView* view) const {
31 return root_view_;
34 } // namespace view_manager