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

Issue 2422663002: Define WebTextInputMode as a enum in the public API. (Closed)

Created:
4 years, 2 months ago by dtapuska
Modified:
4 years, 1 month ago
Reviewers:
Shu Chen, esprehn
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, jam, mlamouri+watch-content_chromium.org, nona+watch_chromium.org, shuchen+watch_chromium.org, James Su, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Define WebTextInputMode as a enum in the public API. Change the WebString being passed back into at the public API layer into an enum and move the string->enum conversion into blink. Add missing enum types that match the spec as it is today. We are still working out what we will ship. BUG=634330 TBR=shuchen@chromium.org Committed: https://crrev.com/c4dd5befeeaffe92aa6973024ccc9537eddae3e3 Cr-Commit-Position: refs/heads/master@{#427352}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix build #

Patch Set 4 : git cl format #

Total comments: 1

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -118 lines) Patch
M content/child/assert_matching_enums.cc View 2 chunks +69 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 8 chunks +18 lines, -94 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/CoreInitializer.cpp View 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.cpp View 1 2 chunks +34 lines, -7 lines 0 comments Download
A third_party/WebKit/Source/core/editing/InputModeNames.in View 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/WebTextInputInfo.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 3 4 3 chunks +36 lines, -9 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/input_mode_type_email.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/input_mode_type_full_width_latin.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/input_mode_type_kana.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/input_mode_type_kana_name.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/input_mode_type_kata_kana.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/input_mode_type_latin.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/input_mode_type_latin_name.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/input_mode_type_latin_prose.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/input_mode_type_numeric.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/input_mode_type_tel.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/input_mode_type_url.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebTextInputInfo.h View 3 chunks +4 lines, -3 lines 0 comments Download
A third_party/WebKit/public/platform/WebTextInputMode.h View 1 chunk +31 lines, -0 lines 0 comments Download
M ui/base/ime/text_input_mode.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 31 (23 generated)
dtapuska
4 years, 2 months ago (2016-10-14 16:19:59 UTC) #3
dtapuska
On 2016/10/14 16:19:59, dtapuska wrote: esprehn@ ping
4 years, 2 months ago (2016-10-19 15:42:02 UTC) #13
esprehn
lgtm https://codereview.chromium.org/2422663002/diff/60001/third_party/WebKit/Source/web/tests/WebViewTest.cpp File third_party/WebKit/Source/web/tests/WebViewTest.cpp (right): https://codereview.chromium.org/2422663002/diff/60001/third_party/WebKit/Source/web/tests/WebViewTest.cpp#newcode812 third_party/WebKit/Source/web/tests/WebViewTest.cpp:812: testInputMode(WebTextInputMode::kWebTextInputModeVerbatim, All of this seems like it should ...
4 years, 1 month ago (2016-10-24 21:12:26 UTC) #20
dtapuska
shuchen@chromium.org: Please review changes in ui/base/ime/
4 years, 1 month ago (2016-10-25 13:07:24 UTC) #22
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/2422663002/80001
4 years, 1 month ago (2016-10-25 13:21:25 UTC) #26
Shu Chen
lgtm
4 years, 1 month ago (2016-10-25 13:22:14 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-25 15:11:37 UTC) #29
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 15:43:41 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c4dd5befeeaffe92aa6973024ccc9537eddae3e3
Cr-Commit-Position: refs/heads/master@{#427352}

Powered by Google App Engine
This is Rietveld 408576698