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

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

Issue 2649573003: Revert of Move compositor InputHandler from RenderViewImpl to RenderWidget. (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/renderer/render_widget.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 20 matching lines...) Expand all
31 bool IsElasticOverscrollEnabled() override; 31 bool IsElasticOverscrollEnabled() override;
32 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; 32 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override;
33 scoped_refptr<base::SingleThreadTaskRunner> 33 scoped_refptr<base::SingleThreadTaskRunner>
34 GetCompositorMainThreadTaskRunner() override; 34 GetCompositorMainThreadTaskRunner() override;
35 scoped_refptr<base::SingleThreadTaskRunner> 35 scoped_refptr<base::SingleThreadTaskRunner>
36 GetCompositorImplThreadTaskRunner() override; 36 GetCompositorImplThreadTaskRunner() override;
37 blink::scheduler::RendererScheduler* GetRendererScheduler() override; 37 blink::scheduler::RendererScheduler* GetRendererScheduler() override;
38 cc::TaskGraphRunner* GetTaskGraphRunner() override; 38 cc::TaskGraphRunner* GetTaskGraphRunner() override;
39 bool AreImageDecodeTasksEnabled() override; 39 bool AreImageDecodeTasksEnabled() override;
40 bool IsThreadedAnimationEnabled() override; 40 bool IsThreadedAnimationEnabled() override;
41 bool IsScrollAnimatorEnabled() 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_widget.cc ('k') | content/test/fake_compositor_dependencies.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698