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

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

Issue 15920002: Fix WebView compositor input handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review and rebase Created 7 years, 6 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 class AppCacheDispatcher; 70 class AppCacheDispatcher;
71 class AudioInputMessageFilter; 71 class AudioInputMessageFilter;
72 class AudioMessageFilter; 72 class AudioMessageFilter;
73 class AudioRendererMixerManager; 73 class AudioRendererMixerManager;
74 class ContextProviderCommandBuffer; 74 class ContextProviderCommandBuffer;
75 class DBMessageFilter; 75 class DBMessageFilter;
76 class DevToolsAgentFilter; 76 class DevToolsAgentFilter;
77 class DomStorageDispatcher; 77 class DomStorageDispatcher;
78 class GpuChannelHost; 78 class GpuChannelHost;
79 class IndexedDBDispatcher; 79 class IndexedDBDispatcher;
80 class InputEventFilter;
80 class InputHandlerManager; 81 class InputHandlerManager;
81 class MediaStreamCenter; 82 class MediaStreamCenter;
82 class MediaStreamDependencyFactory; 83 class MediaStreamDependencyFactory;
83 class P2PSocketDispatcher; 84 class P2PSocketDispatcher;
84 class PeerConnectionTracker; 85 class PeerConnectionTracker;
85 class RendererWebKitPlatformSupportImpl; 86 class RendererWebKitPlatformSupportImpl;
86 class RenderProcessObserver; 87 class RenderProcessObserver;
87 class VideoCaptureImplManager; 88 class VideoCaptureImplManager;
88 class WebDatabaseObserverImpl; 89 class WebDatabaseObserverImpl;
89 class WebGraphicsContext3DCommandBufferImpl; 90 class WebGraphicsContext3DCommandBufferImpl;
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 // A lazily initiated thread on which file operations are run. 423 // A lazily initiated thread on which file operations are run.
423 scoped_ptr<base::Thread> file_thread_; 424 scoped_ptr<base::Thread> file_thread_;
424 425
425 // May be null if overridden by ContentRendererClient. 426 // May be null if overridden by ContentRendererClient.
426 scoped_ptr<base::Thread> compositor_thread_; 427 scoped_ptr<base::Thread> compositor_thread_;
427 428
428 // Will point to appropriate MessageLoopProxy after initialization, 429 // Will point to appropriate MessageLoopProxy after initialization,
429 // regardless of whether |compositor_thread_| is overriden. 430 // regardless of whether |compositor_thread_| is overriden.
430 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_; 431 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_;
431 432
433 // May be null if unused by the |input_handler_manager_|.
434 scoped_refptr<InputEventFilter> input_event_filter_;
432 scoped_ptr<InputHandlerManager> input_handler_manager_; 435 scoped_ptr<InputHandlerManager> input_handler_manager_;
433 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; 436 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_;
434 437
435 class RendererContextProviderCommandBuffer; 438 class RendererContextProviderCommandBuffer;
436 scoped_refptr<RendererContextProviderCommandBuffer> 439 scoped_refptr<RendererContextProviderCommandBuffer>
437 shared_contexts_main_thread_; 440 shared_contexts_main_thread_;
438 scoped_refptr<RendererContextProviderCommandBuffer> 441 scoped_refptr<RendererContextProviderCommandBuffer>
439 shared_contexts_compositor_thread_; 442 shared_contexts_compositor_thread_;
440 443
441 ObserverList<RenderProcessObserver> observers_; 444 ObserverList<RenderProcessObserver> observers_;
442 445
443 class GpuVDAContextLostCallback; 446 class GpuVDAContextLostCallback;
444 scoped_ptr<GpuVDAContextLostCallback> context_lost_cb_; 447 scoped_ptr<GpuVDAContextLostCallback> context_lost_cb_;
445 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; 448 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_;
446 449
447 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 450 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
448 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; 451 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_;
449 452
450 HistogramCustomizer histogram_customizer_; 453 HistogramCustomizer histogram_customizer_;
451 454
452 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 455 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
453 }; 456 };
454 457
455 } // namespace content 458 } // namespace content
456 459
457 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 460 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698