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

Issue 740063002: Move creation of plugin placeholder DOM from JS to C++. (Closed)

Created:
6 years, 1 month ago by jbroman
Modified:
4 years, 9 months ago
CC:
arv+blink, Bernhard Bauer, blink-reviews, blink-reviews-html_chromium.org, Inactive, danakj, dglazkov+blink
Project:
blink
Visibility:
Public.

Description

Move creation of plugin placeholder DOM from JS to C++. The JavaScript code remains responsible for the hiding logic, but this gives C++ control over the creation of the constituent elements, and lets it freely bind its own event listeners to them without introducing private script APIs. There is no functionality change in this CL, and it is pretty much a direct translation of the JavaScript code back into corresponding C++. BUG=364716 TEST=fast/plugins, webkit_unit_tests:PluginPlaceholderImplTest.*

Patch Set 1 #

Patch Set 2 : oilpan #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -71 lines) Patch
M Source/core/html/shadow/PluginPlaceholderElement.h View 1 1 chunk +20 lines, -1 line 0 comments Download
M Source/core/html/shadow/PluginPlaceholderElement.cpp View 1 1 chunk +116 lines, -8 lines 0 comments Download
M Source/core/html/shadow/PluginPlaceholderElement.idl View 1 chunk +2 lines, -4 lines 0 comments Download
M Source/core/html/shadow/PluginPlaceholderElement.js View 2 chunks +0 lines, -58 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
jbroman
There's a lot of concern about dispatching from event listeners in private script (Blink-in-JS) back ...
6 years, 1 month ago (2014-11-19 23:31:22 UTC) #2
Mike West
:( I'd like to be able to do this in JS; it seems like a ...
6 years, 1 month ago (2014-11-20 08:35:08 UTC) #4
haraken
On 2014/11/19 23:31:22, jbroman wrote: > There's a lot of concern about dispatching from event ...
6 years, 1 month ago (2014-11-20 08:37:16 UTC) #5
jochen (gone - plz use gerrit)
On 2014/11/20 at 08:37:16, haraken wrote: > On 2014/11/19 23:31:22, jbroman wrote: > > There's ...
6 years, 1 month ago (2014-11-20 15:25:38 UTC) #6
jbroman
On 2014/11/20 15:25:38, jochen (slow) wrote: > On 2014/11/20 at 08:37:16, haraken wrote: > > ...
6 years, 1 month ago (2014-11-20 17:54:18 UTC) #7
esprehn
Can you explain the event issue? It seems like we should expose a very targeted ...
6 years, 1 month ago (2014-11-20 18:07:10 UTC) #8
jbroman
On 2014/11/20 18:07:10, esprehn wrote: > Can you explain the event issue? It seems like ...
6 years, 1 month ago (2014-11-20 18:17:19 UTC) #9
jochen (gone - plz use gerrit)
On 2014/11/20 at 17:54:18, jbroman wrote: > On 2014/11/20 15:25:38, jochen (slow) wrote: > > ...
6 years, 1 month ago (2014-11-20 18:40:45 UTC) #10
jbroman
On 2014/11/20 18:40:45, jochen (slow) wrote: > On 2014/11/20 at 17:54:18, jbroman wrote: > > ...
6 years, 1 month ago (2014-11-20 18:50:25 UTC) #11
jbroman
On 2014/11/20 18:40:45, jochen (slow) wrote: > On 2014/11/20 at 17:54:18, jbroman wrote: > > ...
6 years, 1 month ago (2014-11-20 18:50:25 UTC) #12
esprehn
Adding a void loadPlugin() API seems reasonable even though it doesn't fit those two criteria. ...
6 years, 1 month ago (2014-11-20 19:01:44 UTC) #13
jochen (gone - plz use gerrit)
On 2014/11/20 at 18:50:25, jbroman wrote: > On 2014/11/20 18:40:45, jochen (slow) wrote: > > ...
6 years, 1 month ago (2014-11-20 19:10:58 UTC) #14
esprehn
Can we close this?
4 years, 9 months ago (2016-03-18 05:08:57 UTC) #15
jbroman
4 years, 9 months ago (2016-03-18 14:15:44 UTC) #16
Message was sent while issue was closed.
On 2016/03/18 at 05:08:57, esprehn wrote:
> Can we close this?

Yup, closed.

Powered by Google App Engine
This is Rietveld 408576698