Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: extensions/renderer/native_extension_bindings_system.cc

Issue 2727583004: [Extensions Bindings] Add a registerEventArgumentMassager (Closed)
Patch Set: . Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/renderer/api_event_handler_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/native_extension_bindings_system.cc
diff --git a/extensions/renderer/native_extension_bindings_system.cc b/extensions/renderer/native_extension_bindings_system.cc
index b8aa63d576d726e32b98f55496033969d85bd00c..1617058b7c399b02134db428f9df3c4df3521f13 100644
--- a/extensions/renderer/native_extension_bindings_system.cc
+++ b/extensions/renderer/native_extension_bindings_system.cc
@@ -187,7 +187,8 @@ v8::Local<v8::Object> CreateRootBinding(
gin::Handle<APIBindingBridge> bridge_handle = gin::CreateHandle(
context->GetIsolate(),
new APIBindingBridge(bindings_system->type_reference_map(),
- bindings_system->request_handler(), hooks, context,
+ bindings_system->request_handler(),
+ bindings_system->event_handler(), hooks, context,
binding_object, script_context->GetExtensionID(),
script_context->GetContextTypeDescription(),
base::Bind(&CallJsFunction)));
« no previous file with comments | « extensions/renderer/api_event_handler_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698