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

Issue 2074263002: [Experimental] Fool around with exposing extension bindings via blink

Created:
4 years, 6 months ago by Devlin
Modified:
3 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, asargent_no_longer_on_chrome, ben+mojo_chromium.org, blink-reviews, chromium-apps-reviews_chromium.org, chromium-reviews, darin (slow to review), extensions-reviews_chromium.org, haraken, lazyboy, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Experimental] Fool around with exposing extension bindings via blink NOT FOR COMMIT. Rough, experimental, partial implementation BUG=

Patch Set 1 #

Total comments: 21
Unified diffs Side-by-side diffs Delta from patch set Stats (+614 lines, -44 lines) Patch
M chrome/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.h View 2 chunks +8 lines, -4 lines 7 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 1 chunk +33 lines, -30 lines 0 comments Download
A chrome/browser/extensions/api/developer_private/developer_private_mojo.h View 1 chunk +44 lines, -0 lines 2 comments Download
A chrome/browser/extensions/api/developer_private/developer_private_mojo.cc View 1 chunk +30 lines, -0 lines 1 comment Download
M chrome/browser/extensions/chrome_extension_web_contents_observer.cc View 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/developer_private.idl View 1 chunk +1 line, -1 line 0 comments Download
A extensions/browser/mojo_extension_function.h View 1 chunk +123 lines, -0 lines 2 comments Download
A extensions/browser/mojo_extension_function.cc View 1 chunk +18 lines, -0 lines 0 comments Download
A + extensions/common/api/mojo/BUILD.gn View 1 chunk +4 lines, -4 lines 2 comments Download
A extensions/common/api/mojo/developer_private.mojom View 1 chunk +25 lines, -0 lines 4 comments Download
M extensions/extensions.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/extensions.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/extensions/Chrome.h View 1 chunk +50 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/extensions/Chrome.cpp View 1 chunk +26 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/extensions/Chrome.idl View 1 chunk +3 lines, -3 lines 0 comments Download
A third_party/WebKit/Source/modules/extensions/DEPS View 1 chunk +4 lines, -0 lines 1 comment Download
A third_party/WebKit/Source/modules/extensions/DeveloperPrivate.h View 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/extensions/DeveloperPrivate.cpp View 1 chunk +57 lines, -0 lines 1 comment Download
A third_party/WebKit/Source/modules/extensions/DeveloperPrivate.idl View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/extensions/UpdateExtensionConfigurationParams.idl View 1 chunk +12 lines, -0 lines 1 comment Download
A third_party/WebKit/Source/modules/extensions/WindowChrome.h View 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/extensions/WindowChrome.cpp View 1 chunk +54 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/extensions/WindowChrome.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 5 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
Devlin
Hey folks - I'm curious for some early thoughts here. This is me hacking some ...
4 years, 6 months ago (2016-06-18 01:24:59 UTC) #2
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2074263002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.h File chrome/browser/extensions/api/developer_private/developer_private_api.h (right): https://codereview.chromium.org/2074263002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.h#newcode332 chrome/browser/extensions/api/developer_private/developer_private_api.h:332: class DeveloperPrivateUpdateExtensionConfigurationFunction Why does this even still need to ...
4 years, 6 months ago (2016-06-20 17:19:25 UTC) #4
Devlin
just to reiterate, I have no intention of landing this in its current incarnation, so ...
4 years, 6 months ago (2016-06-20 17:49:24 UTC) #5
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2074263002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.h File chrome/browser/extensions/api/developer_private/developer_private_api.h (right): https://codereview.chromium.org/2074263002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.h#newcode332 chrome/browser/extensions/api/developer_private/developer_private_api.h:332: class DeveloperPrivateUpdateExtensionConfigurationFunction On 2016/06/20 at 17:49:23, Devlin wrote: > ...
4 years, 6 months ago (2016-06-20 18:34:54 UTC) #6
Devlin
https://codereview.chromium.org/2074263002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.h File chrome/browser/extensions/api/developer_private/developer_private_api.h (right): https://codereview.chromium.org/2074263002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.h#newcode332 chrome/browser/extensions/api/developer_private/developer_private_api.h:332: class DeveloperPrivateUpdateExtensionConfigurationFunction On 2016/06/20 18:34:54, Ken Rockot wrote: > ...
4 years, 6 months ago (2016-06-20 18:58:41 UTC) #7
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2074263002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.h File chrome/browser/extensions/api/developer_private/developer_private_api.h (right): https://codereview.chromium.org/2074263002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.h#newcode332 chrome/browser/extensions/api/developer_private/developer_private_api.h:332: class DeveloperPrivateUpdateExtensionConfigurationFunction On 2016/06/20 at 18:58:41, Devlin wrote: > ...
4 years, 6 months ago (2016-06-20 19:54:20 UTC) #8
Devlin
At some point, a meeting for this might make sense. :) https://codereview.chromium.org/2074263002/diff/1/chrome/browser/extensions/api/developer_private/developer_private_api.h File chrome/browser/extensions/api/developer_private/developer_private_api.h (right): ...
4 years, 6 months ago (2016-06-20 21:35:25 UTC) #9
Ken Rockot(use gerrit already)
A meeting does probably make sense. As a general high-level comment, I think it *could* ...
4 years, 6 months ago (2016-06-20 22:36:34 UTC) #10
Devlin
I came back to this a day later, and I can't parse this wall of ...
4 years, 6 months ago (2016-06-21 20:51:35 UTC) #11
Devlin
esprehn@, comments from a blink bindings perspective?
4 years, 6 months ago (2016-06-21 20:51:54 UTC) #12
Ken Rockot(use gerrit already)
Just one additional comment - it seems incorrect to me to have Blink know any ...
4 years, 6 months ago (2016-06-21 20:55:21 UTC) #13
Ken Rockot(use gerrit already)
Just one additional comment - it seems incorrect to me to have Blink know any ...
4 years, 6 months ago (2016-06-21 20:55:21 UTC) #14
Devlin
On 2016/06/21 20:55:21, Ken Rockot wrote: > Just one additional comment - it seems incorrect ...
4 years, 6 months ago (2016-06-21 20:58:54 UTC) #15
esprehn
4 years, 6 months ago (2016-06-21 21:11:10 UTC) #16
On 2016/06/21 at 20:58:54, rdevlin.cronin wrote:
> On 2016/06/21 20:55:21, Ken Rockot wrote:
> > Just one additional comment - it seems incorrect to me to have Blink know
> > any details of Chrome extensions APIs. It would be nice if as an embedder
> > of Blink we had an easy way to use Blink IDL and other bindings facilities
> > without requiring all Blink embedders to build the extensions stuff.
> 
> Agreed, I mention that here:
https://codereview.chromium.org/2074263002/diff/1/third_party/WebKit/Source/m....
 Though esprehn@ has pointed out to me in the past that modules/ is basically
not (traditional?) blink and easily compiled out on a per-module basis.  Even
so, I agree that this would be nicer in an extension-y spot.

Blink is not some reusable system, we can keep it in modules and have a separate
build target if needed, in general though there's no reason to "keep stuff out
of blink".

Powered by Google App Engine
This is Rietveld 408576698