OLD | NEW |
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 "content/test/fake_compositor_dependencies.h" | 5 #include "content/test/fake_compositor_dependencies.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 } | 22 } |
23 | 23 |
24 bool FakeCompositorDependencies::IsGpuRasterizationForced() { | 24 bool FakeCompositorDependencies::IsGpuRasterizationForced() { |
25 return false; | 25 return false; |
26 } | 26 } |
27 | 27 |
28 bool FakeCompositorDependencies::IsGpuRasterizationEnabled() { | 28 bool FakeCompositorDependencies::IsGpuRasterizationEnabled() { |
29 return false; | 29 return false; |
30 } | 30 } |
31 | 31 |
| 32 bool FakeCompositorDependencies::IsAsyncWorkerContextEnabled() { |
| 33 return false; |
| 34 } |
| 35 |
32 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() { | 36 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() { |
33 return 0; | 37 return 0; |
34 } | 38 } |
35 | 39 |
36 bool FakeCompositorDependencies::IsLcdTextEnabled() { | 40 bool FakeCompositorDependencies::IsLcdTextEnabled() { |
37 return false; | 41 return false; |
38 } | 42 } |
39 | 43 |
40 bool FakeCompositorDependencies::IsDistanceFieldTextEnabled() { | 44 bool FakeCompositorDependencies::IsDistanceFieldTextEnabled() { |
41 return false; | 45 return false; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 106 |
103 bool FakeCompositorDependencies::AreImageDecodeTasksEnabled() { | 107 bool FakeCompositorDependencies::AreImageDecodeTasksEnabled() { |
104 return false; | 108 return false; |
105 } | 109 } |
106 | 110 |
107 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() { | 111 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() { |
108 return true; | 112 return true; |
109 } | 113 } |
110 | 114 |
111 } // namespace content | 115 } // namespace content |
OLD | NEW |