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

Issue 2462983002: INPUT element: code cleanup (Closed)

Created:
4 years, 1 month ago by tkent
Modified:
4 years, 1 month ago
Reviewers:
keishi
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

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

Messages

Total messages: 13 (8 generated)
tkent
Keishi, would you review this trivial CL please?
4 years, 1 month ago (2016-10-31 21:57:58 UTC) #7
keishi
LGTM
4 years, 1 month ago (2016-11-01 01:28:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2462983002/1
4 years, 1 month ago (2016-11-01 01:47:38 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-01 01:53:31 UTC) #11
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 01:55:16 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/cc82e2a1fabccacaa65873f96041126bbcd88671
Cr-Commit-Position: refs/heads/master@{#428909}

Powered by Google App Engine
This is Rietveld 408576698