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

Unified Diff: content/public/renderer/render_thread.h

Issue 783573003: Make TestPlugin allocate its bitmap with SharedBitmapManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | content/public/test/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_thread.h
diff --git a/content/public/renderer/render_thread.h b/content/public/renderer/render_thread.h
index 38006d81d43322593d8076ef1c57e74d2c622b2c..d3444350c0cbdb8139bc36bcbf82fe5bbeacc234 100644
--- a/content/public/renderer/render_thread.h
+++ b/content/public/renderer/render_thread.h
@@ -25,6 +25,10 @@ class MessageLoopProxy;
class WaitableEvent;
}
+namespace cc {
+class SharedBitmapManager;
+}
+
namespace IPC {
class MessageFilter;
class SyncChannel;
@@ -102,6 +106,8 @@ class CONTENT_EXPORT RenderThread : public IPC::Sender {
virtual scoped_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer(
size_t buffer_size) = 0;
+ virtual cc::SharedBitmapManager* GetSharedBitmapManager() = 0;
+
// Registers the given V8 extension with WebKit.
virtual void RegisterExtension(v8::Extension* extension) = 0;
« no previous file with comments | « no previous file | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698