| Index: extensions/renderer/extension_bindings_system.h
|
| diff --git a/extensions/renderer/extension_bindings_system.h b/extensions/renderer/extension_bindings_system.h
|
| index e40858e0751d80eaf4a7a106270f12901e0fa241..0f5991360b92ffcae770498f7fd2427247ef3d36 100644
|
| --- a/extensions/renderer/extension_bindings_system.h
|
| +++ b/extensions/renderer/extension_bindings_system.h
|
| @@ -44,6 +44,11 @@ class ExtensionBindingsSystem {
|
| const base::DictionaryValue* filtering_info,
|
| ScriptContext* context) = 0;
|
|
|
| + // Returns true if there is a listener for the given |event_name| in the
|
| + // associated |context|.
|
| + virtual bool HasEventListenerInContext(const std::string& event_name,
|
| + ScriptContext* context) = 0;
|
| +
|
| // Handles the response associated with the given |request_id|.
|
| virtual void HandleResponse(int request_id,
|
| bool success,
|
|
|