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

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

Issue 2629243002: content: Remove blimp compositing dependencies. (Closed)
Patch Set: .. Created 3 years, 11 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') | no next file » | 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 scoped_refptr<base::SingleThreadTaskRunner> 73 scoped_refptr<base::SingleThreadTaskRunner>
74 FakeCompositorDependencies::GetCompositorImplThreadTaskRunner() { 74 FakeCompositorDependencies::GetCompositorImplThreadTaskRunner() {
75 return nullptr; // Currently never threaded compositing in unit tests. 75 return nullptr; // Currently never threaded compositing in unit tests.
76 } 76 }
77 77
78 blink::scheduler::RendererScheduler* 78 blink::scheduler::RendererScheduler*
79 FakeCompositorDependencies::GetRendererScheduler() { 79 FakeCompositorDependencies::GetRendererScheduler() {
80 return &renderer_scheduler_; 80 return &renderer_scheduler_;
81 } 81 }
82 82
83 cc::ImageSerializationProcessor*
84 FakeCompositorDependencies::GetImageSerializationProcessor() {
85 return nullptr;
86 }
87
88 cc::TaskGraphRunner* FakeCompositorDependencies::GetTaskGraphRunner() { 83 cc::TaskGraphRunner* FakeCompositorDependencies::GetTaskGraphRunner() {
89 return &task_graph_runner_; 84 return &task_graph_runner_;
90 } 85 }
91 86
92 bool FakeCompositorDependencies::AreImageDecodeTasksEnabled() { 87 bool FakeCompositorDependencies::AreImageDecodeTasksEnabled() {
93 return false; 88 return false;
94 } 89 }
95 90
96 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() { 91 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() {
97 return true; 92 return true;
98 } 93 }
99 94
100 } // namespace content 95 } // namespace content
OLDNEW
« no previous file with comments | « content/test/fake_compositor_dependencies.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698