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

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, 4 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 void TestServerViewDelegate::SubmitFrame(ServerView* view,
17 mojo::CompositorFramePtr frame,
18 const mojo::Closure& callback) {
19 }
20
16 void TestServerViewDelegate::PrepareToDestroyView(ServerView* view) { 21 void TestServerViewDelegate::PrepareToDestroyView(ServerView* view) {
17 } 22 }
18 23
19 void TestServerViewDelegate::PrepareToChangeViewHierarchy( 24 void TestServerViewDelegate::PrepareToChangeViewHierarchy(
20 ServerView* view, 25 ServerView* view,
21 ServerView* new_parent, 26 ServerView* new_parent,
22 ServerView* old_parent) { 27 ServerView* old_parent) {
23 } 28 }
24 29
25 void TestServerViewDelegate::PrepareToChangeViewVisibility(ServerView* view) { 30 void TestServerViewDelegate::PrepareToChangeViewVisibility(ServerView* view) {
26 } 31 }
27 32
28 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) { 33 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) {
29 } 34 }
30 35
31 const ServerView* TestServerViewDelegate::GetRootView( 36 const ServerView* TestServerViewDelegate::GetRootView(
32 const ServerView* view) const { 37 const ServerView* view) const {
33 return root_view_; 38 return root_view_;
34 } 39 }
35 40
36 } // namespace view_manager 41 } // namespace view_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698