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

Side by Side Diff: content/renderer/gpu/compositor_dependencies.h

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: dcheng@'s suggestions, replumb enable_scroll_animator. Created 4 years, 1 month 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_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ 5 #ifndef CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_
6 #define CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ 6 #define CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 GetCompositorMainThreadTaskRunner() = 0; 45 GetCompositorMainThreadTaskRunner() = 0;
46 // Returns null if the compositor is in single-threaded mode (ie. there is no 46 // Returns null if the compositor is in single-threaded mode (ie. there is no
47 // compositor thread). 47 // compositor thread).
48 virtual scoped_refptr<base::SingleThreadTaskRunner> 48 virtual scoped_refptr<base::SingleThreadTaskRunner>
49 GetCompositorImplThreadTaskRunner() = 0; 49 GetCompositorImplThreadTaskRunner() = 0;
50 virtual blink::scheduler::RendererScheduler* GetRendererScheduler() = 0; 50 virtual blink::scheduler::RendererScheduler* GetRendererScheduler() = 0;
51 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor() = 0; 51 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor() = 0;
52 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0; 52 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0;
53 virtual bool AreImageDecodeTasksEnabled() = 0; 53 virtual bool AreImageDecodeTasksEnabled() = 0;
54 virtual bool IsThreadedAnimationEnabled() = 0; 54 virtual bool IsThreadedAnimationEnabled() = 0;
55 virtual bool IsScrollAnimatorEnabled() = 0;
55 56
56 virtual ~CompositorDependencies() {} 57 virtual ~CompositorDependencies() {}
57 }; 58 };
58 59
59 } // namespace content 60 } // namespace content
60 61
61 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ 62 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698