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_output_surface.h" | 5 #include "cc/test/fake_output_surface.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/threading/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
9 #include "cc/output/output_surface_client.h" | 9 #include "cc/output/output_surface_client.h" |
10 #include "cc/resources/returned_resource.h" | 10 #include "cc/resources/returned_resource.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 } | 89 } |
90 | 90 |
91 bool FakeOutputSurface::IsDisplayedAsOverlayPlane() const { | 91 bool FakeOutputSurface::IsDisplayedAsOverlayPlane() const { |
92 return false; | 92 return false; |
93 } | 93 } |
94 | 94 |
95 unsigned FakeOutputSurface::GetOverlayTextureId() const { | 95 unsigned FakeOutputSurface::GetOverlayTextureId() const { |
96 return 0; | 96 return 0; |
97 } | 97 } |
98 | 98 |
| 99 bool FakeOutputSurface::CanPartialDraw(const gfx::Rect& damage) { |
| 100 return false; |
| 101 } |
| 102 |
99 } // namespace cc | 103 } // namespace cc |
OLD | NEW |