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 5fb61d8716c9931659a29b4a5a220ada56fe84e0..ea2141878633f7abaccd00afd3da1e5f379ab69e 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h |
@@ -303,6 +303,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(); |