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

Unified Diff: content/public/browser/render_process_host.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
Index: content/public/browser/render_process_host.h
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
index 6424099441390ab48cd61b5e7c8959b0aa860d84..66a96eca5c6aca95d61c3ce68656669350f7c3fb 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -14,7 +14,6 @@
#include "ipc/ipc_channel_proxy.h"
#include "ipc/ipc_sender.h"
#include "ui/gfx/native_widget_types.h"
-#include "ui/surface/transport_dib.h"
class GURL;
struct ViewMsg_SwapOut_Params;
@@ -128,19 +127,6 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
// the first IPC arrives.
virtual base::ProcessHandle GetHandle() const = 0;
- // Transport DIB functions ---------------------------------------------------
-
- // Return the TransportDIB for the given id. On Linux, this can involve
- // mapping shared memory. On Mac, the shared memory is created in the browser
- // process and the cached metadata is returned. On Windows, this involves
- // duplicating the handle from the remote process. The RenderProcessHost
- // still owns the returned DIB.
- virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id) = 0;
-
- // Return the TransportDIB for the given id. In contrast to GetTransportDIB,
- // the caller owns the resulting TransportDIB.
- virtual TransportDIB* MapTransportDIB(TransportDIB::Id dib_id) = 0;
-
// Returns the user browser context associated with this renderer process.
virtual content::BrowserContext* GetBrowserContext() const = 0;
« no previous file with comments | « content/browser/renderer_host/render_widget_helper.cc ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698