commit | f53ff08ef4a00b2668cd83f343182be95b436d8d | [log] [tgz] |
---|---|---|
author | Tim Judkins <tjudkins@chromium.org> | Thu Nov 12 00:37:53 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 12 00:37:53 2020 |
tree | 64e7d4661d136cf10715ad052a022cbb46d6608f | |
parent | 87e4b574c35f4f2f0fe2a8ce428834c58fd05557 [diff] |
[Extensions] Enable promise support on the browserAction API This CL changes over the json schema to use the new returns_async format to define callbacks, enabling promise support on those APIs. Note: browserAction.setIcon and browserAction.openPopus do not yet support promises. setIcon uses a custom hook and openPopup uses a custom callback, which will have promise support added at a later time. Bug: 328932 Change-Id: Ie51b28bfe18f3bf5e427a59a1e5e2d04ee5116f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2515139 Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Tim Judkins <tjudkins@chromium.org> Cr-Commit-Position: refs/heads/master@{#826563}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.