Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Side by Side Diff: content/test/fake_compositor_dependencies.cc

Issue 2324273002: Remove external begin frame source parameter and settings (Closed)
Patch Set: Add back comment, remove more febfs includes Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/gpu/render_widget_compositor_unittest.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor_unittest.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698