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

Issue 27746003: Have InputType factories take an HTMLInputElement reference in parameter (Closed)

Created:
7 years, 2 months ago by Inactive
Modified:
7 years, 2 months ago
Reviewers:
tkent, adamk
CC:
blink-reviews, dglazkov+blink, adamk+blink_chromium.org
Visibility:
Public.

Description

Have InputType factories take an HTMLInputElement reference in parameter Have InputType factories take an HTMLInputElement reference in parameter as they expect the pointer to be non-null. As a consequence, InputTypeView::element() can now return a reference instead of a pointer, which makes the calling code look safer. R=adamk, tkent NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160093

Patch Set 1 #

Patch Set 2 : Fix comment #

Patch Set 3 : Rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+456 lines, -456 lines) Patch
M Source/core/html/HTMLInputElement.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/html/forms/BaseButtonInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/BaseButtonInputType.cpp View 3 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/forms/BaseCheckableInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/BaseCheckableInputType.cpp View 1 2 4 chunks +7 lines, -7 lines 0 comments Download
M Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp View 2 chunks +8 lines, -8 lines 0 comments Download
M Source/core/html/forms/BaseClickableWithKeyInputType.h View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/html/forms/BaseClickableWithKeyInputType.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/forms/BaseDateAndTimeInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/BaseDateAndTimeInputType.cpp View 5 chunks +8 lines, -8 lines 0 comments Download
M Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp View 19 chunks +35 lines, -35 lines 0 comments Download
M Source/core/html/forms/BaseTextInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/BaseTextInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/ButtonInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/ButtonInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/CheckboxInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/CheckboxInputType.cpp View 4 chunks +8 lines, -8 lines 0 comments Download
M Source/core/html/forms/ColorInputType.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/ColorInputType.cpp View 7 chunks +15 lines, -15 lines 0 comments Download
M Source/core/html/forms/DateInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/DateInputType.cpp View 3 chunks +8 lines, -8 lines 0 comments Download
M Source/core/html/forms/DateTimeLocalInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/DateTimeLocalInputType.cpp View 3 chunks +7 lines, -7 lines 0 comments Download
M Source/core/html/forms/EmailInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/EmailInputType.cpp View 7 chunks +9 lines, -9 lines 0 comments Download
M Source/core/html/forms/FileInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/FileInputType.cpp View 1 2 11 chunks +36 lines, -36 lines 0 comments Download
M Source/core/html/forms/HiddenInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/HiddenInputType.cpp View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/forms/ImageInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/ImageInputType.cpp View 1 2 8 chunks +15 lines, -15 lines 0 comments Download
M Source/core/html/forms/InputType.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/forms/InputType.cpp View 1 2 18 chunks +32 lines, -32 lines 0 comments Download
M Source/core/html/forms/InputTypeView.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
M Source/core/html/forms/InputTypeView.cpp View 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/html/forms/MonthInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/MonthInputType.cpp View 4 chunks +8 lines, -8 lines 0 comments Download
M Source/core/html/forms/NumberInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/NumberInputType.cpp View 10 chunks +21 lines, -21 lines 0 comments Download
M Source/core/html/forms/PasswordInputType.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/PasswordInputType.cpp View 1 2 4 chunks +11 lines, -11 lines 0 comments Download
M Source/core/html/forms/RadioInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/RadioInputType.cpp View 8 chunks +17 lines, -17 lines 0 comments Download
M Source/core/html/forms/RangeInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/RangeInputType.cpp View 13 chunks +31 lines, -31 lines 0 comments Download
M Source/core/html/forms/ResetInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/ResetInputType.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/forms/SearchInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/SearchInputType.cpp View 6 chunks +15 lines, -15 lines 0 comments Download
M Source/core/html/forms/SubmitInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/SubmitInputType.cpp View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/html/forms/TelephoneInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/TelephoneInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/TextFieldInputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/TextFieldInputType.cpp View 1 2 16 chunks +45 lines, -45 lines 0 comments Download
M Source/core/html/forms/TextInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/TextInputType.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/TimeInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/TimeInputType.cpp View 4 chunks +9 lines, -9 lines 0 comments Download
M Source/core/html/forms/URLInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/URLInputType.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/WeekInputType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/forms/WeekInputType.cpp View 3 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Inactive
7 years, 2 months ago (2013-10-17 21:34:54 UTC) #1
tkent
lgtm
7 years, 2 months ago (2013-10-20 21:53:59 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/27746003/6001
7 years, 2 months ago (2013-10-20 21:54:13 UTC) #3
commit-bot: I haz the power
Failed to apply patch for Source/core/html/forms/TextFieldInputType.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-20 21:54:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/27746003/41001
7 years, 2 months ago (2013-10-21 13:26:12 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=12678
7 years, 2 months ago (2013-10-21 15:43:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/27746003/41001
7 years, 2 months ago (2013-10-21 15:50:16 UTC) #7
commit-bot: I haz the power
7 years, 2 months ago (2013-10-21 15:51:05 UTC) #8
Message was sent while issue was closed.
Change committed as 160093

Powered by Google App Engine
This is Rietveld 408576698