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

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

Issue 1281663002: Mandoline: Allow submitting CompositorFrames directly to mojo::Views (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/view_manager/test_server_view_delegate.h"
6 #include "components/view_manager/server_view.h" 6 #include "components/view_manager/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 } 11 }
12 12
13 TestServerViewDelegate::~TestServerViewDelegate() { 13 TestServerViewDelegate::~TestServerViewDelegate() {
14 } 14 }
15 15
16 surfaces::SurfacesState* TestServerViewDelegate::GetSurfacesState() {
17 return nullptr;
18 }
19
16 void TestServerViewDelegate::PrepareToDestroyView(ServerView* view) { 20 void TestServerViewDelegate::PrepareToDestroyView(ServerView* view) {
17 } 21 }
18 22
19 void TestServerViewDelegate::PrepareToChangeViewHierarchy( 23 void TestServerViewDelegate::PrepareToChangeViewHierarchy(
20 ServerView* view, 24 ServerView* view,
21 ServerView* new_parent, 25 ServerView* new_parent,
22 ServerView* old_parent) { 26 ServerView* old_parent) {
23 } 27 }
24 28
25 void TestServerViewDelegate::PrepareToChangeViewVisibility(ServerView* view) { 29 void TestServerViewDelegate::PrepareToChangeViewVisibility(ServerView* view) {
26 } 30 }
27 31
28 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) { 32 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) {
29 } 33 }
30 34
31 const ServerView* TestServerViewDelegate::GetRootView( 35 const ServerView* TestServerViewDelegate::GetRootView(
32 const ServerView* view) const { 36 const ServerView* view) const {
33 return root_view_; 37 return root_view_;
34 } 38 }
35 39
36 } // namespace view_manager 40 } // namespace view_manager
OLDNEW
« no previous file with comments | « components/view_manager/test_server_view_delegate.h ('k') | components/view_manager/view_manager_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698