| 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 namespace cc { | 7 namespace cc { |
| 8 | 8 |
| 9 void FakeProxy::SetLayerTreeHost(LayerTreeHost* host) { | 9 void FakeProxy::SetLayerTreeHost(LayerTreeHost* host) { |
| 10 layer_tree_host_ = host; | 10 layer_tree_host_ = host; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 size_t FakeProxy::MaxPartialTextureUpdates() const { | 31 size_t FakeProxy::MaxPartialTextureUpdates() const { |
| 32 return max_partial_texture_updates_; | 32 return max_partial_texture_updates_; |
| 33 } | 33 } |
| 34 | 34 |
| 35 void FakeProxy::SetMaxPartialTextureUpdates(size_t max) { | 35 void FakeProxy::SetMaxPartialTextureUpdates(size_t max) { |
| 36 max_partial_texture_updates_ = max; | 36 max_partial_texture_updates_ = max; |
| 37 } | 37 } |
| 38 | 38 |
| 39 bool FakeProxy::SupportsImplScrolling() const { return false; } | 39 bool FakeProxy::SupportsImplScrolling() const { return false; } |
| 40 | 40 |
| 41 void FakeProxy::RecreateOutputSurfaceBuffers() { |
| 42 } |
| 43 |
| 41 bool FakeProxy::MainFrameWillHappenForTesting() { | 44 bool FakeProxy::MainFrameWillHappenForTesting() { |
| 42 return false; | 45 return false; |
| 43 } | 46 } |
| 44 | 47 |
| 45 } // namespace cc | 48 } // namespace cc |
| OLD | NEW |