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

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

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Account for the fact that OOPIF subframes don't have an InnerViewportScrollLayer. 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 (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 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; 229 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override;
230 scoped_refptr<base::SingleThreadTaskRunner> 230 scoped_refptr<base::SingleThreadTaskRunner>
231 GetCompositorMainThreadTaskRunner() override; 231 GetCompositorMainThreadTaskRunner() override;
232 scoped_refptr<base::SingleThreadTaskRunner> 232 scoped_refptr<base::SingleThreadTaskRunner>
233 GetCompositorImplThreadTaskRunner() override; 233 GetCompositorImplThreadTaskRunner() override;
234 blink::scheduler::RendererScheduler* GetRendererScheduler() override; 234 blink::scheduler::RendererScheduler* GetRendererScheduler() override;
235 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override; 235 cc::ImageSerializationProcessor* GetImageSerializationProcessor() 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 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 int gpu_rasterization_msaa_sample_count_; 719 int gpu_rasterization_msaa_sample_count_;
719 bool is_lcd_text_enabled_; 720 bool is_lcd_text_enabled_;
720 bool is_distance_field_text_enabled_; 721 bool is_distance_field_text_enabled_;
721 bool is_zero_copy_enabled_; 722 bool is_zero_copy_enabled_;
722 bool is_gpu_memory_buffer_compositor_resources_enabled_; 723 bool is_gpu_memory_buffer_compositor_resources_enabled_;
723 bool is_partial_raster_enabled_; 724 bool is_partial_raster_enabled_;
724 bool is_elastic_overscroll_enabled_; 725 bool is_elastic_overscroll_enabled_;
725 cc::BufferToTextureTargetMap buffer_to_texture_target_map_; 726 cc::BufferToTextureTargetMap buffer_to_texture_target_map_;
726 bool are_image_decode_tasks_enabled_; 727 bool are_image_decode_tasks_enabled_;
727 bool is_threaded_animation_enabled_; 728 bool is_threaded_animation_enabled_;
729 bool is_scroll_animator_enabled_;
728 730
729 class PendingFrameCreate : public base::RefCounted<PendingFrameCreate> { 731 class PendingFrameCreate : public base::RefCounted<PendingFrameCreate> {
730 public: 732 public:
731 PendingFrameCreate(int routing_id, 733 PendingFrameCreate(int routing_id,
732 mojom::FrameRequest frame_request, 734 mojom::FrameRequest frame_request,
733 mojom::FrameHostPtr frame_host); 735 mojom::FrameHostPtr frame_host);
734 736
735 mojom::FrameRequest TakeFrameRequest() { return std::move(frame_request_); } 737 mojom::FrameRequest TakeFrameRequest() { return std::move(frame_request_); }
736 mojom::FrameHostPtr TakeFrameHost() { 738 mojom::FrameHostPtr TakeFrameHost() {
737 frame_host_.set_connection_error_handler(base::Closure()); 739 frame_host_.set_connection_error_handler(base::Closure());
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 775 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
774 }; 776 };
775 777
776 #if defined(COMPILER_MSVC) 778 #if defined(COMPILER_MSVC)
777 #pragma warning(pop) 779 #pragma warning(pop)
778 #endif 780 #endif
779 781
780 } // namespace content 782 } // namespace content
781 783
782 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 784 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698