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

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

Issue 2781183002: Remove image_decode_tasks_enabled flag. (Closed)
Patch Set: fixes Created 3 years, 8 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/test/fake_compositor_dependencies.h ('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"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 blink::scheduler::RendererScheduler* 74 blink::scheduler::RendererScheduler*
75 FakeCompositorDependencies::GetRendererScheduler() { 75 FakeCompositorDependencies::GetRendererScheduler() {
76 return &renderer_scheduler_; 76 return &renderer_scheduler_;
77 } 77 }
78 78
79 cc::TaskGraphRunner* FakeCompositorDependencies::GetTaskGraphRunner() { 79 cc::TaskGraphRunner* FakeCompositorDependencies::GetTaskGraphRunner() {
80 return &task_graph_runner_; 80 return &task_graph_runner_;
81 } 81 }
82 82
83 bool FakeCompositorDependencies::AreImageDecodeTasksEnabled() {
84 return false;
85 }
86
87 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() { 83 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() {
88 return true; 84 return true;
89 } 85 }
90 86
91 bool FakeCompositorDependencies::IsScrollAnimatorEnabled() { 87 bool FakeCompositorDependencies::IsScrollAnimatorEnabled() {
92 return false; 88 return false;
93 } 89 }
94 90
95 bool FakeCompositorDependencies::IsSurfaceSynchronizationEnabled() { 91 bool FakeCompositorDependencies::IsSurfaceSynchronizationEnabled() {
96 return false; 92 return false;
97 } 93 }
98 94
99 } // namespace content 95 } // namespace content
OLDNEW
« no previous file with comments | « content/test/fake_compositor_dependencies.h ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698