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

Side by Side Diff: cc/test/fake_proxy.cc

Issue 11731002: Implement a method to access the non-composited content root layer picture pile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixes. Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "cc/test/fake_proxy.h" 5 #include "cc/test/fake_proxy.h"
6 6
7 #include "cc/picture_pile_impl.h"
8
7 namespace cc { 9 namespace cc {
8 10
9 bool FakeProxy::compositeAndReadback(void *pixels, const gfx::Rect&) 11 bool FakeProxy::compositeAndReadback(void *pixels, const gfx::Rect&)
10 { 12 {
11 return true; 13 return true;
12 } 14 }
13 15
14 bool FakeProxy::isStarted() const 16 bool FakeProxy::isStarted() const
15 { 17 {
16 return true; 18 return true;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void FakeProxy::setMaxPartialTextureUpdates(size_t max) 56 void FakeProxy::setMaxPartialTextureUpdates(size_t max)
55 { 57 {
56 m_maxPartialTextureUpdates = max; 58 m_maxPartialTextureUpdates = max;
57 } 59 }
58 60
59 bool FakeProxy::commitPendingForTesting() 61 bool FakeProxy::commitPendingForTesting()
60 { 62 {
61 return false; 63 return false;
62 } 64 }
63 65
66 scoped_refptr<PicturePileImpl> FakeProxy::capturePicturePile()
67 {
68 return scoped_refptr<PicturePileImpl>();
69 }
70
64 } // namespace cc 71 } // namespace cc
OLDNEW
« cc/layer_tree_host_unittest.cc ('K') | « cc/test/fake_proxy.h ('k') | cc/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698