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

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

Issue 2781183002: Remove image_decode_tasks_enabled flag. (Closed)
Patch Set: fixes Created 3 years, 7 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/render_thread_impl.cc ('k') | content/test/fake_compositor_dependencies.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 #ifndef CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ 5 #ifndef CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_
6 #define CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ 6 #define CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/output/buffer_to_texture_target_map.h" 9 #include "cc/output/buffer_to_texture_target_map.h"
10 #include "cc/test/test_task_graph_runner.h" 10 #include "cc/test/test_task_graph_runner.h"
(...skipping 17 matching lines...) Expand all
28 bool IsPartialRasterEnabled() override; 28 bool IsPartialRasterEnabled() override;
29 bool IsGpuMemoryBufferCompositorResourcesEnabled() override; 29 bool IsGpuMemoryBufferCompositorResourcesEnabled() override;
30 bool IsElasticOverscrollEnabled() override; 30 bool IsElasticOverscrollEnabled() override;
31 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; 31 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override;
32 scoped_refptr<base::SingleThreadTaskRunner> 32 scoped_refptr<base::SingleThreadTaskRunner>
33 GetCompositorMainThreadTaskRunner() override; 33 GetCompositorMainThreadTaskRunner() override;
34 scoped_refptr<base::SingleThreadTaskRunner> 34 scoped_refptr<base::SingleThreadTaskRunner>
35 GetCompositorImplThreadTaskRunner() override; 35 GetCompositorImplThreadTaskRunner() override;
36 blink::scheduler::RendererScheduler* GetRendererScheduler() override; 36 blink::scheduler::RendererScheduler* GetRendererScheduler() override;
37 cc::TaskGraphRunner* GetTaskGraphRunner() override; 37 cc::TaskGraphRunner* GetTaskGraphRunner() override;
38 bool AreImageDecodeTasksEnabled() override;
39 bool IsThreadedAnimationEnabled() override; 38 bool IsThreadedAnimationEnabled() override;
40 bool IsScrollAnimatorEnabled() override; 39 bool IsScrollAnimatorEnabled() override;
41 bool IsSurfaceSynchronizationEnabled() override; 40 bool IsSurfaceSynchronizationEnabled() override;
42 41
43 private: 42 private:
44 cc::TestTaskGraphRunner task_graph_runner_; 43 cc::TestTaskGraphRunner task_graph_runner_;
45 blink::scheduler::FakeRendererScheduler renderer_scheduler_; 44 blink::scheduler::FakeRendererScheduler renderer_scheduler_;
46 cc::BufferToTextureTargetMap buffer_to_texture_target_map_; 45 cc::BufferToTextureTargetMap buffer_to_texture_target_map_;
47 46
48 DISALLOW_COPY_AND_ASSIGN(FakeCompositorDependencies); 47 DISALLOW_COPY_AND_ASSIGN(FakeCompositorDependencies);
49 }; 48 };
50 49
51 } // namespace content 50 } // namespace content
52 51
53 #endif // CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ 52 #endif // CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/fake_compositor_dependencies.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698