Index: extensions/renderer/event_bindings.h |
diff --git a/extensions/renderer/event_bindings.h b/extensions/renderer/event_bindings.h |
index 61b140ec7a6a5354beaaafbb75d9372aca6e45a9..7b29e888a1d03e84fe1c70123bd0922c1e8b9ef2 100644 |
--- a/extensions/renderer/event_bindings.h |
+++ b/extensions/renderer/event_bindings.h |
@@ -49,7 +49,7 @@ class EventBindings : public ObjectBackedNativeHandler { |
// Attach an event name to an object. |
// |event_name| The name of the event to attach. |
- void AttachEvent(const std::string& event_name); |
+ void AttachEvent(const std::string& event_name, bool supports_lazy_listeners); |
// JavaScript handler which forwards to DetachEvent(). |
// args[0] forwards to |event_name|. |
@@ -61,7 +61,7 @@ class EventBindings : public ObjectBackedNativeHandler { |
// |is_manual| True if this detach was done by the user via removeListener() |
// as opposed to automatically during shutdown, in which case we should inform |
// the browser we are no longer interested in that event. |
- void DetachEvent(const std::string& event_name, bool is_manual); |
+ void DetachEvent(const std::string& event_name, bool remove_lazy_listener); |
// MatcherID AttachFilteredEvent(string event_name, object filter) |
// |event_name| Name of the event to attach. |
@@ -82,7 +82,7 @@ class EventBindings : public ObjectBackedNativeHandler { |
// |matcher_id| The ID of the filtered event. |
// |is_manual| false if this is part of the extension unload process where all |
// listeners are automatically detached. |
- void DetachFilteredEvent(int matcher_id, bool is_manual); |
+ void DetachFilteredEvent(int matcher_id, bool remove_lazy_listener); |
void AttachUnmanagedEvent(const v8::FunctionCallbackInfo<v8::Value>& args); |
void DetachUnmanagedEvent(const v8::FunctionCallbackInfo<v8::Value>& args); |