|
Add a custom element to own structure of shadow DOM plugin placeholders.
This creates PluginPlaceholderElement, which manages a subtree of
elements which represent plugin placeholder content and exposes an
interface to manipulate this content. It is expected that this interface
will grow to encompass more than a single string in the future.
This change also adds an Internals method which uses this, so that its
appearance can be covered by layout tests, and adds one such layout test.
Ultimately, this class will be manipulated by a glue class which controls
this content on behalf of the embedder.
BUG= 364716
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182014
Total comments: 14
Total comments: 12
Total comments: 1
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+198 lines, -15 lines) |
Patch |
|
A |
LayoutTests/fast/plugins/plugin-placeholder-not-exposed.html
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/plugins/plugin-placeholder-not-exposed-expected.txt
|
View
|
1
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/plugins/plugin-placeholder-structured.html
|
View
|
1
2
3
4
5
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/plugins/plugin-placeholder-structured-expected.html
|
View
|
1
2
3
4
5
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/core.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/core_generated.gyp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLPlugInElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
Source/core/html/shadow/PluginPlaceholderElement.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/core/html/shadow/PluginPlaceholderElement.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
A + |
Source/core/html/shadow/PluginPlaceholderElement.idl
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/shadow/PluginPlaceholderElement.js
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+38 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/testing/Internals.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/testing/Internals.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+25 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/testing/Internals.idl
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 29 (5 generated)
|