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