Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: components/mus/test_server_view_delegate.cc

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/view_manager/test_server_view_delegate.h" 5 #include "components/mus/test_server_view_delegate.h"
6 #include "components/view_manager/server_view.h" 6 #include "components/mus/server_view.h"
7 7
8 namespace view_manager { 8 namespace view_manager {
9 9
10 TestServerViewDelegate::TestServerViewDelegate() : root_view_(nullptr) { 10 TestServerViewDelegate::TestServerViewDelegate() : root_view_(nullptr) {}
11 }
12 11
13 TestServerViewDelegate::~TestServerViewDelegate() { 12 TestServerViewDelegate::~TestServerViewDelegate() {}
14 }
15 13
16 scoped_ptr<cc::CompositorFrame> 14 scoped_ptr<cc::CompositorFrame>
17 TestServerViewDelegate::UpdateViewTreeFromCompositorFrame( 15 TestServerViewDelegate::UpdateViewTreeFromCompositorFrame(
18 const mojo::CompositorFramePtr& input) { 16 const mojo::CompositorFramePtr& input) {
19 return scoped_ptr<cc::CompositorFrame>(); 17 return scoped_ptr<cc::CompositorFrame>();
20 } 18 }
21 19
22 surfaces::SurfacesState* TestServerViewDelegate::GetSurfacesState() { 20 surfaces::SurfacesState* TestServerViewDelegate::GetSurfacesState() {
23 return nullptr; 21 return nullptr;
24 } 22 }
25 23
26 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) { 24 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) {}
27 }
28 25
29 const ServerView* TestServerViewDelegate::GetRootView( 26 const ServerView* TestServerViewDelegate::GetRootView(
30 const ServerView* view) const { 27 const ServerView* view) const {
31 return root_view_; 28 return root_view_;
32 } 29 }
33 30
34 } // namespace view_manager 31 } // namespace view_manager
OLDNEW
« no previous file with comments | « components/mus/test_server_view_delegate.h ('k') | components/mus/view_coordinate_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698