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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2717213004: Move SharedBitmapManager implementation out of content/ (Closed)
Patch Set: rebase Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper/pepper_graphics_2d_host.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index ffecef18756b8b65d9d472f110366bf943fde313..83960ac56a5609252c1fef93fd6d9e8026010b0c 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -95,6 +95,7 @@ class GpuVideoAcceleratorFactories;
}
namespace ui {
+class ChildSharedBitmapManager;
class ContextProviderCommandBuffer;
class Gpu;
}
@@ -113,7 +114,6 @@ class AudioRendererMixerManager;
class BlobMessageFilter;
class BrowserPluginManager;
class CacheStorageDispatcher;
-class ChildSharedBitmapManager;
class CompositorForwardingMessageFilter;
class DBMessageFilter;
class DevToolsAgentFilter;
@@ -170,8 +170,6 @@ class CONTENT_EXPORT RenderThreadImpl
std::unique_ptr<blink::scheduler::RendererScheduler> renderer_scheduler);
static RenderThreadImpl* current();
static mojom::RenderMessageFilter* current_render_message_filter();
- static const scoped_refptr<mojom::ThreadSafeRenderMessageFilterAssociatedPtr>&
- current_thread_safe_render_message_filter();
static void SetRenderMessageFilterForTesting(
mojom::RenderMessageFilter* render_message_filter);
@@ -362,15 +360,13 @@ class CONTENT_EXPORT RenderThreadImpl
return vc_manager_.get();
}
- ChildSharedBitmapManager* shared_bitmap_manager() const {
+ ui::ChildSharedBitmapManager* shared_bitmap_manager() const {
DCHECK(shared_bitmap_manager_);
return shared_bitmap_manager_.get();
}
mojom::RenderFrameMessageFilter* render_frame_message_filter();
mojom::RenderMessageFilter* render_message_filter();
- const scoped_refptr<mojom::ThreadSafeRenderMessageFilterAssociatedPtr>&
- thread_safe_render_message_filter();
// Get the GPU channel. Returns NULL if the channel is not established or
// has been lost.
@@ -643,7 +639,7 @@ class CONTENT_EXPORT RenderThreadImpl
// Used on the render thread.
std::unique_ptr<VideoCaptureImplManager> vc_manager_;
- std::unique_ptr<ChildSharedBitmapManager> shared_bitmap_manager_;
+ std::unique_ptr<ui::ChildSharedBitmapManager> shared_bitmap_manager_;
// The count of RenderWidgets running through this thread.
int widget_count_;
@@ -780,8 +776,6 @@ class CONTENT_EXPORT RenderThreadImpl
mojom::RenderFrameMessageFilterAssociatedPtr render_frame_message_filter_;
mojom::RenderMessageFilterAssociatedPtr render_message_filter_;
- scoped_refptr<mojom::ThreadSafeRenderMessageFilterAssociatedPtr>
- thread_safe_render_message_filter_;
base::CancelableClosure record_purge_suspend_metric_closure_;
RendererMemoryMetrics purge_and_suspend_memory_metrics_;
« no previous file with comments | « content/renderer/pepper/pepper_graphics_2d_host.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698