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

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

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Check for layerTreeView while setting handlers. 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
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 21 matching lines...) Expand all
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::ImageSerializationProcessor* GetImageSerializationProcessor() override; 38 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override;
39 cc::TaskGraphRunner* GetTaskGraphRunner() override; 39 cc::TaskGraphRunner* GetTaskGraphRunner() override;
40 bool AreImageDecodeTasksEnabled() override; 40 bool AreImageDecodeTasksEnabled() override;
41 bool IsThreadedAnimationEnabled() override; 41 bool IsThreadedAnimationEnabled() override;
42 bool IsScrollAnimatorEnabled() override;
42 43
43 private: 44 private:
44 cc::TestTaskGraphRunner task_graph_runner_; 45 cc::TestTaskGraphRunner task_graph_runner_;
45 blink::scheduler::FakeRendererScheduler renderer_scheduler_; 46 blink::scheduler::FakeRendererScheduler renderer_scheduler_;
46 cc::BufferToTextureTargetMap buffer_to_texture_target_map_; 47 cc::BufferToTextureTargetMap buffer_to_texture_target_map_;
47 48
48 DISALLOW_COPY_AND_ASSIGN(FakeCompositorDependencies); 49 DISALLOW_COPY_AND_ASSIGN(FakeCompositorDependencies);
49 }; 50 };
50 51
51 } // namespace content 52 } // namespace content
52 53
53 #endif // CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_ 54 #endif // CONTENT_TEST_FAKE_COMPOSITOR_DEPENDENCIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698