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

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

Issue 290553004: PPAPI: Refactor MessageChannel to prep for sync postMessae (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move NaClHelper in to nacl namespace Created 6 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/pepper_plugin_instance_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h
index f504a6d69e102e6d2c2f8ebf98b9e651c71476d8..68771efa5ead20f0ce4df6716b5c4b302197b2db 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -89,6 +89,7 @@ namespace ppapi {
class Resource;
struct InputEventData;
struct PPP_Instance_Combined;
+class ScopedPPVar;
}
namespace v8 {
@@ -296,8 +297,8 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
// already in fullscreen mode).
bool SetFullscreen(bool fullscreen);
- // Implementation of PPP_Messaging.
- void HandleMessage(PP_Var message);
+ // Send the message on to the plugin.
+ void HandleMessage(ppapi::ScopedPPVar message);
// Returns true if the plugin is processing a user gesture.
bool IsProcessingUserGesture();
« no previous file with comments | « content/renderer/pepper/mock_renderer_ppapi_host.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698