summaryrefslogtreecommitdiffstats
path: root/content/public/renderer
diff options
context:
space:
mode:
authordschuff@chromium.org <dschuff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 10:07:46 +0000
committerdschuff@chromium.org <dschuff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 10:07:46 +0000
commit923c116f86cfc2d1f500e0a1afbe69999297e354 (patch)
treec78c287fb0c819e44eb8a7295d88f6d527d04e56 /content/public/renderer
parentda4756ede951255bb2a1f1c815485225a444c716 (diff)
downloadchromium_src-923c116f86cfc2d1f500e0a1afbe69999297e354.zip
chromium_src-923c116f86cfc2d1f500e0a1afbe69999297e354.tar.gz
chromium_src-923c116f86cfc2d1f500e0a1afbe69999297e354.tar.bz2
Pepper and IPC plumbing to display message to NaCl user
The goal is to display an infobar for the user when when the NaCl manifest does not have an entry for nexe usable on the user's architecture (e.g. if the user is on arm but only x86 nexes have been built). This CL is the plumbing from the NaCl plugin (which actually checks the manifest) into the browser process UI thread, which can actually do the UI. R= sehr@chromium.org/jvoung@chromium.org (plugin, nacl_host) brettw@chromium.org (ppapi/, chrome/renderer/pepper, chrome/browser/renderer_host) jschuh@chromium.org (chrome/common) BUG=154121 Review URL: https://chromiumcodereview.appspot.com/11446081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173139 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/renderer')
-rw-r--r--content/public/renderer/renderer_ppapi_host.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/public/renderer/renderer_ppapi_host.h b/content/public/renderer/renderer_ppapi_host.h
index 3cd550c..e9e1cbf 100644
--- a/content/public/renderer/renderer_ppapi_host.h
+++ b/content/public/renderer/renderer_ppapi_host.h
@@ -69,6 +69,11 @@ class RendererPpapiHost {
const IPC::ChannelHandle& channel_handle,
int plugin_child_id);
+ // Returns the RendererPpapiHost associated with the given PP_Instance,
+ // or NULL if the instance is invalid.
+ CONTENT_EXPORT static RendererPpapiHost* GetForPPInstance(
+ PP_Instance instance);
+
// Returns the PpapiHost object.
virtual ppapi::host::PpapiHost* GetPpapiHost() = 0;