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 c4874bf578107aaf0aedd6d8702c8488ef5a5ccc..900846601b282395c0f6af0d98ebe1cfea2900a8 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h |
@@ -301,6 +301,12 @@ class CONTENT_EXPORT PepperPluginInstanceImpl |
// Send the message on to the plugin. |
void HandleMessage(ppapi::ScopedPPVar message); |
+ // Send the message synchronously to the plugin, and get a result. Returns |
+ // true if the plugin handled the message, false if it didn't. The plugin |
+ // won't handle the message if it has not registered a PPP_MessageHandler. |
+ bool HandleBlockingMessage(ppapi::ScopedPPVar message, |
+ ppapi::ScopedPPVar* result); |
+ |
// Returns true if the plugin is processing a user gesture. |
bool IsProcessingUserGesture(); |