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

Unified Diff: content/renderer/pepper/renderer_ppapi_host_impl.h

Issue 15947004: Allow renderer to create pepper ResourceHosts in the browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/renderer/pepper/renderer_ppapi_host_impl.h
diff --git a/content/renderer/pepper/renderer_ppapi_host_impl.h b/content/renderer/pepper/renderer_ppapi_host_impl.h
index d1256ac3a2b15ea0e0f59bb96737e97ee5485287..97c6c4312c91e16383b1e93b7dbd70955ee261a8 100644
--- a/content/renderer/pepper/renderer_ppapi_host_impl.h
+++ b/content/renderer/pepper/renderer_ppapi_host_impl.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_
#define CONTENT_RENDERER_PEPPER_RENDERER_PPAPI_HOST_IMPL_H_
+#include <map>
+
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "content/public/renderer/renderer_ppapi_host.h"
@@ -103,6 +105,10 @@ class RendererPpapiHostImpl
base::PlatformFile handle,
bool should_close_source) OVERRIDE;
virtual bool IsRunningInProcess() const OVERRIDE;
+ virtual void CreateBrowserResourceHost(
+ PP_Instance instance,
+ const IPC::Message& nested_msg,
+ base::Callback<void(int32)> callback) const OVERRIDE;
teravest 2013/05/29 15:19:36 nit: You've got int32 here, and int in the impleme
raymes 2013/05/29 15:53:03 good catch thanks
private:
RendererPpapiHostImpl(webkit::ppapi::PluginModule* module,

Powered by Google App Engine
This is Rietveld 408576698