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 23159008: Changes the Omnibox input type to SEARCH. (Closed)

Created:
7 years, 4 months ago by Yuki
Modified:
7 years, 3 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, James Su, kochi, yoichio, Seigo Nonaka, yukawa
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Changes the text input type of Omnibox (Views) to TEXT_INPUT_TYPE_SEARCH. If we specifies the text input type to TEXT_INPUT_TYPE_URL, MS-IME on Win8 metro thinks URL must be ASCII and always switches to Latin character mode (aka direct input mode) automatically, even if a user changed to non-Latin (e.g. Japanese) character mode last time. This behavior is not good for those who use non-Latin characters in their daily life. If we specifies the text input type to TEXT_INPUT_TYPE_SEARCH, MS-IME keeps the input mode specified last time. The drawback of this CL is that MS-IME does not show '/' and '.com' keys on a software keyboard. We think this change is worth making considering the number of users who use non-Latin characters and who use Latin characters on a software keyboard. BUG=247994 TEST=Test manually. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223584

Patch Set 1 : Changes TEXT_INPUT_TYPE_URL to TYPE_SEARCH. #

Patch Set 2 : Applies the change only to CJK + Thai. #

Total comments: 4

Patch Set 3 : Fixed comments. #

Patch Set 4 : Synced. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 3 chunks +29 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Yuki
Could you review this CL? You can read the discussion how this issue should be ...
7 years, 3 months ago (2013-08-28 07:27:02 UTC) #1
Peter Kasting
Commented on bug
7 years, 3 months ago (2013-08-28 07:43:16 UTC) #2
Yuki
Hi Peter, According to your feedback, I've updated this CL so it sets TEXT_INPUT_TYPE_SEARCH only ...
7 years, 3 months ago (2013-09-13 13:52:11 UTC) #3
Peter Kasting
This seems like a reasonable bandaid. https://codereview.chromium.org/23159008/diff/13001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): https://codereview.chromium.org/23159008/diff/13001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#newcode102 chrome/browser/ui/views/omnibox/omnibox_view_views.cc:102: // ui::TEXT_INPUT_TYPE_URL for ...
7 years, 3 months ago (2013-09-13 17:16:36 UTC) #4
Peter Kasting
Forgot to say LGTM
7 years, 3 months ago (2013-09-13 17:16:54 UTC) #5
Yuki
Thanks for the review. Committing. https://codereview.chromium.org/23159008/diff/13001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): https://codereview.chromium.org/23159008/diff/13001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#newcode102 chrome/browser/ui/views/omnibox/omnibox_view_views.cc:102: // ui::TEXT_INPUT_TYPE_URL for the ...
7 years, 3 months ago (2013-09-17 08:33:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/23159008/7001
7 years, 3 months ago (2013-09-17 08:36:58 UTC) #7
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-09-17 08:44:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/23159008/40001
7 years, 3 months ago (2013-09-17 09:02:40 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-09-17 12:02:06 UTC) #10
Message was sent while issue was closed.
Change committed as 223584

Powered by Google App Engine
This is Rietveld 408576698