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" |
11 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
12 #include "third_party/khronos/GLES2/gl2.h" | 12 #include "third_party/khronos/GLES2/gl2.h" |
13 #include "ui/gfx/buffer_types.h" | 13 #include "ui/gfx/buffer_types.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 FakeCompositorDependencies::FakeCompositorDependencies() { | 17 FakeCompositorDependencies::FakeCompositorDependencies() { |
18 } | 18 } |
19 | 19 |
20 FakeCompositorDependencies::~FakeCompositorDependencies() { | 20 FakeCompositorDependencies::~FakeCompositorDependencies() { |
21 } | 21 } |
22 | 22 |
23 bool FakeCompositorDependencies::IsGpuRasterizationForced() { | 23 bool FakeCompositorDependencies::IsGpuRasterizationForced() { |
24 return false; | 24 return false; |
25 } | 25 } |
26 | 26 |
27 bool FakeCompositorDependencies::IsGpuRasterizationEnabled() { | |
28 return false; | |
29 } | |
30 | |
31 bool FakeCompositorDependencies::IsAsyncWorkerContextEnabled() { | 27 bool FakeCompositorDependencies::IsAsyncWorkerContextEnabled() { |
32 return false; | 28 return false; |
33 } | 29 } |
34 | 30 |
35 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() { | 31 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() { |
36 return 0; | 32 return 0; |
37 } | 33 } |
38 | 34 |
39 bool FakeCompositorDependencies::IsLcdTextEnabled() { | 35 bool FakeCompositorDependencies::IsLcdTextEnabled() { |
40 return false; | 36 return false; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 86 |
91 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() { | 87 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() { |
92 return true; | 88 return true; |
93 } | 89 } |
94 | 90 |
95 bool FakeCompositorDependencies::IsScrollAnimatorEnabled() { | 91 bool FakeCompositorDependencies::IsScrollAnimatorEnabled() { |
96 return false; | 92 return false; |
97 } | 93 } |
98 | 94 |
99 } // namespace content | 95 } // namespace content |
OLD | NEW |