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

Unified Diff: content/renderer/render_process.h

Issue 247263005: Remove TransportDIB methods from RenderProcess(Host) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/public/test/mock_render_process_host.cc ('k') | content/renderer/render_process_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_process.h
diff --git a/content/renderer/render_process.h b/content/renderer/render_process.h
index 11fab7b918a4bcd2a888cd0d29cf31f3b4c955db..5a1754d72500defcb7b265408da8742fde84c76b 100644
--- a/content/renderer/render_process.h
+++ b/content/renderer/render_process.h
@@ -28,20 +28,6 @@ class RenderProcess : public ChildProcess {
RenderProcess() {}
virtual ~RenderProcess() {}
- // Get a canvas suitable for drawing and transporting to the browser
- // memory: (output) the transport DIB memory
- // rect: the rectangle which will be painted, use for sizing the canvas
- // returns: NULL on error
- //
- // When no longer needed, you should pass the TransportDIB to
- // ReleaseTransportDIB so that it can be recycled.
- virtual SkCanvas* GetDrawingCanvas(TransportDIB** memory,
- const gfx::Rect& rect) = 0;
-
- // Frees shared memory allocated by AllocSharedMemory. You should only use
- // this function to free the SharedMemory object.
- virtual void ReleaseTransportDIB(TransportDIB* memory) = 0;
-
// Keep track of the cumulative set of enabled bindings for this process,
// across any view.
virtual void AddBindings(int bindings) = 0;
@@ -49,11 +35,6 @@ class RenderProcess : public ChildProcess {
// The cumulative set of enabled bindings for this process.
virtual int GetEnabledBindings() const = 0;
- // Create a new transport DIB of, at least, the given size. Return NULL on
- // error.
- virtual TransportDIB* CreateTransportDIB(size_t size) = 0;
- virtual void FreeTransportDIB(TransportDIB*) = 0;
-
// Returns a pointer to the RenderProcess singleton instance. Assuming that
// we're actually a renderer or a renderer test, this static cast will
// be correct.
« no previous file with comments | « content/public/test/mock_render_process_host.cc ('k') | content/renderer/render_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698