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

Issue 2563093002: [Extension Bindings] Add JS custom hook support (Closed)

Created:
4 years ago by Devlin
Modified:
4 years ago
Reviewers:
lazyboy, jbroman
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extension Bindings] Add JS custom hook support Add the ability to register a custom hook from JS. This is the next step towards being able to use our many, many custom_bindings.js files for existing APIs. Add a test for the same. BUG=653596 Committed: https://crrev.com/e59cdacff65172969c9ce74dd5f8f6b8d8b63ce9 Cr-Commit-Position: refs/heads/master@{#438588}

Patch Set 1 #

Total comments: 18

Patch Set 2 : jbroman's #

Total comments: 6

Patch Set 3 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -25 lines) Patch
M extensions/renderer/api_binding.cc View 1 3 chunks +13 lines, -11 lines 0 comments Download
M extensions/renderer/api_binding_hooks.h View 1 2 chunks +26 lines, -4 lines 0 comments Download
M extensions/renderer/api_binding_hooks.cc View 1 2 2 chunks +183 lines, -8 lines 0 comments Download
M extensions/renderer/api_binding_unittest.cc View 1 2 chunks +55 lines, -1 line 0 comments Download
M extensions/renderer/api_bindings_system.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/renderer/api_bindings_system.cc View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 23 (14 generated)
Devlin
Follows https://codereview.chromium.org/2552343006/; mind taking a look when you can?
4 years ago (2016-12-09 19:37:14 UTC) #2
jbroman
https://codereview.chromium.org/2563093002/diff/1/extensions/renderer/api_binding_hooks.cc File extensions/renderer/api_binding_hooks.cc (right): https://codereview.chromium.org/2563093002/diff/1/extensions/renderer/api_binding_hooks.cc#newcode43 extensions/renderer/api_binding_hooks.cc:43: void SetHandleRequest(gin::Arguments* arguments) { There's nothing unusual going on ...
4 years ago (2016-12-13 22:12:41 UTC) #3
Devlin
https://codereview.chromium.org/2563093002/diff/1/extensions/renderer/api_binding_hooks.cc File extensions/renderer/api_binding_hooks.cc (right): https://codereview.chromium.org/2563093002/diff/1/extensions/renderer/api_binding_hooks.cc#newcode43 extensions/renderer/api_binding_hooks.cc:43: void SetHandleRequest(gin::Arguments* arguments) { On 2016/12/13 22:12:40, jbroman wrote: ...
4 years ago (2016-12-14 02:02:14 UTC) #5
jbroman
lgtm https://codereview.chromium.org/2563093002/diff/20001/extensions/renderer/api_binding_hooks.cc File extensions/renderer/api_binding_hooks.cc (right): https://codereview.chromium.org/2563093002/diff/20001/extensions/renderer/api_binding_hooks.cc#newcode28 extensions/renderer/api_binding_hooks.cc:28: ~JSHookInterface() override {} super-nit: This destructor is implied; ...
4 years ago (2016-12-14 16:28:28 UTC) #9
Devlin
lazyboy@, wanna take a look? https://codereview.chromium.org/2563093002/diff/20001/extensions/renderer/api_binding_hooks.cc File extensions/renderer/api_binding_hooks.cc (right): https://codereview.chromium.org/2563093002/diff/20001/extensions/renderer/api_binding_hooks.cc#newcode28 extensions/renderer/api_binding_hooks.cc:28: ~JSHookInterface() override {} On ...
4 years ago (2016-12-14 16:53:53 UTC) #11
lazyboy
lgtm
4 years ago (2016-12-14 19:13:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2563093002/40001
4 years ago (2016-12-14 19:20:25 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-14 19:28:46 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-14 19:31:10 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e59cdacff65172969c9ce74dd5f8f6b8d8b63ce9
Cr-Commit-Position: refs/heads/master@{#438588}

Powered by Google App Engine
This is Rietveld 408576698