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> |
| 8 |
7 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
8 #include "base/thread_task_runner_handle.h" | 10 #include "base/thread_task_runner_handle.h" |
9 #include "cc/test/fake_external_begin_frame_source.h" | 11 #include "cc/test/fake_external_begin_frame_source.h" |
10 #include "third_party/khronos/GLES2/gl2.h" | 12 #include "third_party/khronos/GLES2/gl2.h" |
11 #include "ui/gfx/buffer_types.h" | 13 #include "ui/gfx/buffer_types.h" |
12 | 14 |
13 namespace content { | 15 namespace content { |
14 | 16 |
15 FakeCompositorDependencies::FakeCompositorDependencies() { | 17 FakeCompositorDependencies::FakeCompositorDependencies() { |
16 } | 18 } |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 102 |
101 bool FakeCompositorDependencies::AreImageDecodeTasksEnabled() { | 103 bool FakeCompositorDependencies::AreImageDecodeTasksEnabled() { |
102 return false; | 104 return false; |
103 } | 105 } |
104 | 106 |
105 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() { | 107 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() { |
106 return true; | 108 return true; |
107 } | 109 } |
108 | 110 |
109 } // namespace content | 111 } // namespace content |
OLD | NEW |