diff options
Diffstat (limited to 'content/renderer/pepper/pepper_plugin_delegate_impl.h')
-rw-r--r-- | content/renderer/pepper/pepper_plugin_delegate_impl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.h b/content/renderer/pepper/pepper_plugin_delegate_impl.h index 783eeaa..ebfbddd 100644 --- a/content/renderer/pepper/pepper_plugin_delegate_impl.h +++ b/content/renderer/pepper/pepper_plugin_delegate_impl.h @@ -130,6 +130,10 @@ class PepperPluginDelegateImpl // Removes broker from pending_connect_broker_ if present. Returns true if so. bool StopWaitingForBrokerConnection(PepperBrokerImpl* broker); + // Called when we know whether permission to access the PPAPI broker was + // granted. + void OnPpapiBrokerPermissionResult(int request_id, bool result); + // Notification that the render view has been focused or defocused. This // notifies all of the plugins. void OnSetFocus(bool has_focus); @@ -497,6 +501,10 @@ class PepperPluginDelegateImpl typedef IDMap<scoped_refptr<PepperBrokerImpl>, IDMapOwnPointer> BrokerMap; BrokerMap pending_connect_broker_; + typedef IDMap<base::WeakPtr<webkit::ppapi::PPB_Broker_Impl> > + PermissionRequestMap; + PermissionRequestMap pending_permission_requests_; + // Whether or not the focus is on a PPAPI plugin webkit::ppapi::PluginInstance* focused_plugin_; |