|
Add DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION() macro
Add DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION() macro that generates better
type helpers for HTML Elements:
- Generates more isHTML*Element() helpers that are consistent with the ones
in HTMLElementTypeHelpers.h so that there is no different in behavior /
supported arguments.
- Supports more efficient isHTML*Element() helpers that take an HTMLElement
in argument and thus don't need to check the namespace URI, only the local
name.
R=esprehn, adamk
BUG= 346095
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169466
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+74 lines, -35 lines) |
Patch |
|
M |
Source/core/editing/Editor.cpp
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLElement.h
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLFormControlElement.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLFrameElementBase.h
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLMediaElement.h
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTableCellElement.h
|
View
|
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTableColElement.h
|
View
|
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTableSectionElement.h
|
View
|
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTextFormControlElement.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLUnknownElement.h
|
View
|
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/LabelableElement.h
|
View
|
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderTableCol.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|