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

Issue 2709633003: Fix: Cursor of Omnibox stays in LTR mode after setting to RTL mode (Closed)

Created:
3 years, 10 months ago by yiyix
Modified:
3 years, 10 months ago
Reviewers:
sadrul
CC:
chromium-reviews, nona+watch_chromium.org, James Su, shuchen+watch_chromium.org, yusukes+watch_chromium.org, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cursor of Omnibox stays in LTR mode after setting to RTL mode Fixed the bug caused by https://codereview.chromium.org/2660593002/. The newly introduced |cursor_view_| did not consider RTL input mode. TEST=TextfieldTest.TextCursorPositionInRTLTest and TextfieldTest.TextCursorPositionInLTRTest BUG=693437 Review-Url: https://codereview.chromium.org/2709633003 Cr-Commit-Position: refs/heads/master@{#452536} Committed: https://chromium.googlesource.com/chromium/src/+/947341f55da060dd30bd492ab806049fb23bb109

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -1 line) Patch
M ui/views/controls/textfield/textfield.cc View 1 chunk +3 lines, -1 line 0 comments Download
M ui/views/controls/textfield/textfield_test_api.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield_unittest.cc View 1 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (21 generated)
yiyix
@sadrul, could you please review this change?
3 years, 10 months ago (2017-02-22 16:49:32 UTC) #16
sadrul
lgtm https://codereview.chromium.org/2709633003/diff/40001/ui/views/controls/textfield/textfield_unittest.cc File ui/views/controls/textfield/textfield_unittest.cc (right): https://codereview.chromium.org/2709633003/diff/40001/ui/views/controls/textfield/textfield_unittest.cc#newcode2402 ui/views/controls/textfield/textfield_unittest.cc:2402: base::i18n::SetICUDefaultLocale("he"); I think you need to restore |locale| ...
3 years, 10 months ago (2017-02-23 03:41:22 UTC) #19
yiyix
https://codereview.chromium.org/2709633003/diff/40001/ui/views/controls/textfield/textfield_unittest.cc File ui/views/controls/textfield/textfield_unittest.cc (right): https://codereview.chromium.org/2709633003/diff/40001/ui/views/controls/textfield/textfield_unittest.cc#newcode2402 ui/views/controls/textfield/textfield_unittest.cc:2402: base::i18n::SetICUDefaultLocale("he"); On 2017/02/23 03:41:21, sadrul (OOO) wrote: > I ...
3 years, 10 months ago (2017-02-23 16:38:46 UTC) #20
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/2709633003/60001
3 years, 10 months ago (2017-02-23 16:39:20 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 17:31:02 UTC) #26
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/947341f55da060dd30bd492ab806...

Powered by Google App Engine
This is Rietveld 408576698