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

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

Issue 890873007: Cleanup: Move ContextProviderWebContext into cc/blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 namespace base { 49 namespace base {
50 class MessageLoopProxy; 50 class MessageLoopProxy;
51 class SingleThreadTaskRunner; 51 class SingleThreadTaskRunner;
52 class Thread; 52 class Thread;
53 } 53 }
54 54
55 namespace cc { 55 namespace cc {
56 class ContextProvider; 56 class ContextProvider;
57 } 57 }
58 58
59 namespace cc_blink {
60 class ContextProviderWebContext;
61 }
62
59 namespace IPC { 63 namespace IPC {
60 class MessageFilter; 64 class MessageFilter;
61 } 65 }
62 66
63 namespace media { 67 namespace media {
64 class AudioHardwareConfig; 68 class AudioHardwareConfig;
65 class GpuVideoAcceleratorFactories; 69 class GpuVideoAcceleratorFactories;
66 } 70 }
67 71
68 namespace v8 { 72 namespace v8 {
69 class Extension; 73 class Extension;
70 } 74 }
71 75
72 namespace webkit {
73 namespace gpu {
74 class ContextProviderWebContext;
75 class GrContextForWebGraphicsContext3D;
76 }
77 }
78
79 namespace content { 76 namespace content {
80 77
81 class AppCacheDispatcher; 78 class AppCacheDispatcher;
82 class AecDumpMessageFilter; 79 class AecDumpMessageFilter;
83 class AudioInputMessageFilter; 80 class AudioInputMessageFilter;
84 class AudioMessageFilter; 81 class AudioMessageFilter;
85 class AudioRendererMixerManager; 82 class AudioRendererMixerManager;
86 class BrowserPluginManager; 83 class BrowserPluginManager;
87 class CompositorForwardingMessageFilter; 84 class CompositorForwardingMessageFilter;
88 class ContextProviderCommandBuffer; 85 class ContextProviderCommandBuffer;
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 // on the renderer's main thread. 314 // on the renderer's main thread.
318 scoped_refptr<base::SingleThreadTaskRunner> GetMediaThreadTaskRunner(); 315 scoped_refptr<base::SingleThreadTaskRunner> GetMediaThreadTaskRunner();
319 316
320 // Causes the idle handler to skip sending idle notifications 317 // Causes the idle handler to skip sending idle notifications
321 // on the two next scheduled calls, so idle notifications are 318 // on the two next scheduled calls, so idle notifications are
322 // not sent for at least one notification delay. 319 // not sent for at least one notification delay.
323 void PostponeIdleNotification(); 320 void PostponeIdleNotification();
324 321
325 scoped_refptr<media::GpuVideoAcceleratorFactories> GetGpuFactories(); 322 scoped_refptr<media::GpuVideoAcceleratorFactories> GetGpuFactories();
326 323
327 scoped_refptr<webkit::gpu::ContextProviderWebContext> 324 scoped_refptr<cc_blink::ContextProviderWebContext>
328 SharedMainThreadContextProvider(); 325 SharedMainThreadContextProvider();
329 326
330 // AudioRendererMixerManager instance which manages renderer side mixer 327 // AudioRendererMixerManager instance which manages renderer side mixer
331 // instances shared based on configured audio parameters. Lazily created on 328 // instances shared based on configured audio parameters. Lazily created on
332 // first call. 329 // first call.
333 AudioRendererMixerManager* GetAudioRendererMixerManager(); 330 AudioRendererMixerManager* GetAudioRendererMixerManager();
334 331
335 // AudioHardwareConfig contains audio hardware configuration for 332 // AudioHardwareConfig contains audio hardware configuration for
336 // renderer side clients. Creation requires a synchronous IPC call so it is 333 // renderer side clients. Creation requires a synchronous IPC call so it is
337 // lazily created on the first call. 334 // lazily created on the first call.
338 media::AudioHardwareConfig* GetAudioHardwareConfig(); 335 media::AudioHardwareConfig* GetAudioHardwareConfig();
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 556
560 // Will point to appropriate MessageLoopProxy after initialization, 557 // Will point to appropriate MessageLoopProxy after initialization,
561 // regardless of whether |compositor_thread_| is overriden. 558 // regardless of whether |compositor_thread_| is overriden.
562 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_; 559 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_;
563 560
564 base::CancelableCallback<void(const IPC::Message&)> main_input_callback_; 561 base::CancelableCallback<void(const IPC::Message&)> main_input_callback_;
565 scoped_refptr<IPC::MessageFilter> input_event_filter_; 562 scoped_refptr<IPC::MessageFilter> input_event_filter_;
566 scoped_ptr<InputHandlerManager> input_handler_manager_; 563 scoped_ptr<InputHandlerManager> input_handler_manager_;
567 scoped_refptr<CompositorForwardingMessageFilter> compositor_message_filter_; 564 scoped_refptr<CompositorForwardingMessageFilter> compositor_message_filter_;
568 565
569 scoped_refptr<webkit::gpu::ContextProviderWebContext> 566 scoped_refptr<cc_blink::ContextProviderWebContext>
570 shared_main_thread_contexts_; 567 shared_main_thread_contexts_;
571 568
572 ObserverList<RenderProcessObserver> observers_; 569 ObserverList<RenderProcessObserver> observers_;
573 570
574 scoped_refptr<ContextProviderCommandBuffer> gpu_va_context_provider_; 571 scoped_refptr<ContextProviderCommandBuffer> gpu_va_context_provider_;
575 572
576 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 573 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
577 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; 574 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_;
578 575
579 HistogramCustomizer histogram_customizer_; 576 HistogramCustomizer histogram_customizer_;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 typedef std::map<int, scoped_refptr<PendingRenderFrameConnect>> 618 typedef std::map<int, scoped_refptr<PendingRenderFrameConnect>>
622 PendingRenderFrameConnectMap; 619 PendingRenderFrameConnectMap;
623 PendingRenderFrameConnectMap pending_render_frame_connects_; 620 PendingRenderFrameConnectMap pending_render_frame_connects_;
624 621
625 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 622 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
626 }; 623 };
627 624
628 } // namespace content 625 } // namespace content
629 626
630 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 627 #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