| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |