OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/mus/test_server_view_delegate.h" | 5 #include "components/mus/test_server_view_delegate.h" |
6 #include "components/mus/server_view.h" | 6 #include "components/mus/server_view.h" |
7 | 7 |
8 namespace mus { | 8 namespace view_manager { |
9 | 9 |
10 TestServerViewDelegate::TestServerViewDelegate() : root_view_(nullptr) {} | 10 TestServerViewDelegate::TestServerViewDelegate() : root_view_(nullptr) {} |
11 | 11 |
12 TestServerViewDelegate::~TestServerViewDelegate() {} | 12 TestServerViewDelegate::~TestServerViewDelegate() {} |
13 | 13 |
14 scoped_ptr<cc::CompositorFrame> | 14 scoped_ptr<cc::CompositorFrame> |
15 TestServerViewDelegate::UpdateViewTreeFromCompositorFrame( | 15 TestServerViewDelegate::UpdateViewTreeFromCompositorFrame( |
16 const mojo::CompositorFramePtr& input) { | 16 const mojo::CompositorFramePtr& input) { |
17 return scoped_ptr<cc::CompositorFrame>(); | 17 return scoped_ptr<cc::CompositorFrame>(); |
18 } | 18 } |
19 | 19 |
20 SurfacesState* TestServerViewDelegate::GetSurfacesState() { | 20 surfaces::SurfacesState* TestServerViewDelegate::GetSurfacesState() { |
21 return nullptr; | 21 return nullptr; |
22 } | 22 } |
23 | 23 |
24 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) {} | 24 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) {} |
25 | 25 |
26 const ServerView* TestServerViewDelegate::GetRootView( | 26 const ServerView* TestServerViewDelegate::GetRootView( |
27 const ServerView* view) const { | 27 const ServerView* view) const { |
28 return root_view_; | 28 return root_view_; |
29 } | 29 } |
30 | 30 |
31 } // namespace mus | 31 } // namespace view_manager |
OLD | NEW |