|
INPUT element: code cleanup
* Rename HTMLInputElement::m_valueIfDirty to m_nonAttributeValue.
Now it stores non-dirty values.
* Rename InputType::defaultValue() to defaultLabel(), valueWithDefault() to
valueOrDefaultLabel()
|defaultValue| was confused with |defaultValue| IDL attribute. InputType::
defaultValue() represented a default button label for type=reset and type=submit.
* Remove InputType::fallbackValue()
There were no external call sites.
* Rename InputType::getTypeSpecificValue() to valueInFilenameValueMode(), and
makes it returning String.
It is used only for ValueMode::kFilename.
This CL has no behavior changes.
Committed: https://crrev.com/cc82e2a1fabccacaa65873f96041126bbcd88671
Cr-Commit-Position: refs/heads/master@{#428909}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+38 lines, -71 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/html/HTMLInputElement.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
View
|
|
11 chunks |
+17 lines, -24 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/ColorInputType.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
|
View
|
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/FileInputType.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/FileInputType.cpp
|
View
|
|
2 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/InputType.h
|
View
|
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/InputType.cpp
|
View
|
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/RangeInputType.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/ResetInputType.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/ResetInputType.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/SubmitInputType.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 13 (8 generated)
|