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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Rebase to master@{#445291}. 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_frame_impl.cc ('k') | content/renderer/render_thread_impl.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool IsElasticOverscrollEnabled() override; 229 bool IsElasticOverscrollEnabled() override;
230 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; 230 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override;
231 scoped_refptr<base::SingleThreadTaskRunner> 231 scoped_refptr<base::SingleThreadTaskRunner>
232 GetCompositorMainThreadTaskRunner() override; 232 GetCompositorMainThreadTaskRunner() override;
233 scoped_refptr<base::SingleThreadTaskRunner> 233 scoped_refptr<base::SingleThreadTaskRunner>
234 GetCompositorImplThreadTaskRunner() override; 234 GetCompositorImplThreadTaskRunner() override;
235 blink::scheduler::RendererScheduler* GetRendererScheduler() override; 235 blink::scheduler::RendererScheduler* GetRendererScheduler() override;
236 cc::TaskGraphRunner* GetTaskGraphRunner() override; 236 cc::TaskGraphRunner* GetTaskGraphRunner() override;
237 bool AreImageDecodeTasksEnabled() override; 237 bool AreImageDecodeTasksEnabled() override;
238 bool IsThreadedAnimationEnabled() override; 238 bool IsThreadedAnimationEnabled() override;
239 bool IsScrollAnimatorEnabled() override;
239 240
240 // blink::scheduler::RendererScheduler::RAILModeObserver implementation. 241 // blink::scheduler::RendererScheduler::RAILModeObserver implementation.
241 void OnRAILModeChanged(v8::RAILMode rail_mode) override; 242 void OnRAILModeChanged(v8::RAILMode rail_mode) override;
242 243
243 // Synchronously establish a channel to the GPU plugin if not previously 244 // Synchronously establish a channel to the GPU plugin if not previously
244 // established or if it has been lost (for example if the GPU plugin crashed). 245 // established or if it has been lost (for example if the GPU plugin crashed).
245 // If there is a pending asynchronous request, it will be completed by the 246 // If there is a pending asynchronous request, it will be completed by the
246 // time this routine returns. 247 // time this routine returns.
247 scoped_refptr<gpu::GpuChannelHost> EstablishGpuChannelSync(); 248 scoped_refptr<gpu::GpuChannelHost> EstablishGpuChannelSync();
248 249
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 int gpu_rasterization_msaa_sample_count_; 714 int gpu_rasterization_msaa_sample_count_;
714 bool is_lcd_text_enabled_; 715 bool is_lcd_text_enabled_;
715 bool is_distance_field_text_enabled_; 716 bool is_distance_field_text_enabled_;
716 bool is_zero_copy_enabled_; 717 bool is_zero_copy_enabled_;
717 bool is_gpu_memory_buffer_compositor_resources_enabled_; 718 bool is_gpu_memory_buffer_compositor_resources_enabled_;
718 bool is_partial_raster_enabled_; 719 bool is_partial_raster_enabled_;
719 bool is_elastic_overscroll_enabled_; 720 bool is_elastic_overscroll_enabled_;
720 cc::BufferToTextureTargetMap buffer_to_texture_target_map_; 721 cc::BufferToTextureTargetMap buffer_to_texture_target_map_;
721 bool are_image_decode_tasks_enabled_; 722 bool are_image_decode_tasks_enabled_;
722 bool is_threaded_animation_enabled_; 723 bool is_threaded_animation_enabled_;
724 bool is_scroll_animator_enabled_;
723 725
724 class PendingFrameCreate : public base::RefCounted<PendingFrameCreate> { 726 class PendingFrameCreate : public base::RefCounted<PendingFrameCreate> {
725 public: 727 public:
726 PendingFrameCreate(int routing_id, 728 PendingFrameCreate(int routing_id,
727 mojom::FrameRequest frame_request, 729 mojom::FrameRequest frame_request,
728 mojom::FrameHostPtr frame_host); 730 mojom::FrameHostPtr frame_host);
729 731
730 mojom::FrameRequest TakeFrameRequest() { return std::move(frame_request_); } 732 mojom::FrameRequest TakeFrameRequest() { return std::move(frame_request_); }
731 mojom::FrameHostPtr TakeFrameHost() { 733 mojom::FrameHostPtr TakeFrameHost() {
732 frame_host_.set_connection_error_handler(base::Closure()); 734 frame_host_.set_connection_error_handler(base::Closure());
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 772 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
771 }; 773 };
772 774
773 #if defined(COMPILER_MSVC) 775 #if defined(COMPILER_MSVC)
774 #pragma warning(pop) 776 #pragma warning(pop)
775 #endif 777 #endif
776 778
777 } // namespace content 779 } // namespace content
778 780
779 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 781 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698