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