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

Issue 408883003: Remove shouldUseInputMethod (Closed)

Created:
6 years, 5 months ago by rwlbuis
Modified:
6 years, 5 months ago
Reviewers:
adamk
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, eae+blinkwatch, sof, tkent
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Remove shouldUseInputMethod This method is only used in WebViewImpl so call isContentEditable directly, remove the InputType shouldUseInputMethod methods too. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178691

Patch Set 1 #

Total comments: 2

Patch Set 2 : V2 #

Total comments: 2

Patch Set 3 : Remove shouldUseInputMethod completely #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -45 lines) Patch
M Source/core/dom/Node.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/dom/Node.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/html/HTMLInputElement.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/HTMLInputElement.cpp View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/html/HTMLTextAreaElement.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/HTMLTextAreaElement.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/html/forms/InputType.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/forms/InputType.cpp View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/html/forms/PasswordInputType.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/forms/PasswordInputType.cpp View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M Source/core/html/forms/TextFieldInputType.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/forms/TextFieldInputType.cpp View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
rwlbuis
PTAL
6 years, 5 months ago (2014-07-21 21:59:00 UTC) #1
adamk
https://codereview.chromium.org/408883003/diff/1/Source/core/dom/Element.cpp File Source/core/dom/Element.cpp (right): https://codereview.chromium.org/408883003/diff/1/Source/core/dom/Element.cpp#newcode226 Source/core/dom/Element.cpp:226: return isHTMLInputElement(this) ? toHTMLInputElement(this)->shouldUseInputMethod() : isContentEditable(UserSelectAllIsAlwaysNonEditable); Is isHTMLInputElement(this) ever ...
6 years, 5 months ago (2014-07-21 22:06:33 UTC) #2
rwlbuis
On 2014/07/21 22:06:33, adamk wrote: > https://codereview.chromium.org/408883003/diff/1/Source/core/dom/Element.cpp > File Source/core/dom/Element.cpp (right): > > https://codereview.chromium.org/408883003/diff/1/Source/core/dom/Element.cpp#newcode226 > ...
6 years, 5 months ago (2014-07-21 22:10:18 UTC) #3
rwlbuis
V2 patch should address the issues from the review.
6 years, 5 months ago (2014-07-22 00:12:31 UTC) #4
adamk
https://codereview.chromium.org/408883003/diff/20001/Source/core/dom/Element.h File Source/core/dom/Element.h (right): https://codereview.chromium.org/408883003/diff/20001/Source/core/dom/Element.h#newcode516 Source/core/dom/Element.h:516: bool shouldUseInputMethod(); If the only caller is indeed WebViewImpl, ...
6 years, 5 months ago (2014-07-22 01:10:08 UTC) #5
rwlbuis
On 2014/07/22 01:10:08, adamk wrote: > https://codereview.chromium.org/408883003/diff/20001/Source/core/dom/Element.h > File Source/core/dom/Element.h (right): > > https://codereview.chromium.org/408883003/diff/20001/Source/core/dom/Element.h#newcode516 > ...
6 years, 5 months ago (2014-07-22 14:50:53 UTC) #6
rwlbuis
PTAL, it turns out even more code can be removed.
6 years, 5 months ago (2014-07-22 15:32:05 UTC) #7
adamk
lgtm (CC tkent FYI)
6 years, 5 months ago (2014-07-22 15:33:32 UTC) #8
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 5 months ago (2014-07-22 16:42:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/408883003/40001
6 years, 5 months ago (2014-07-22 16:42:31 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 5 months ago (2014-07-22 17:47:47 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-22 18:24:48 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/30901)
6 years, 5 months ago (2014-07-22 18:24:49 UTC) #13
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 5 months ago (2014-07-22 20:41:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/408883003/40001
6 years, 5 months ago (2014-07-22 20:42:18 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 20:43:26 UTC) #16
Message was sent while issue was closed.
Change committed as 178691

Powered by Google App Engine
This is Rietveld 408576698