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

Issue 2024003002: Add GetTextDirection to ui::TextInputClient API. (Closed)

Created:
4 years, 6 months ago by karandeepb
Modified:
4 years, 6 months ago
CC:
anandc+watch-blimp_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dtrainor+watch-blimp_chromium.org, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chomium.org, jam, jbauman+watch_chromium.org, jessicag+watch-blimp_chromium.org, kalyank, khushalsagar+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, lhchavez+watch_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, nona+watch_chromium.org, nyquist+watch-blimp_chromium.org, piman+watch_chromium.org, shaktisahu+watch-blimp_chromium.org, shuchen+watch_chromium.org, sievers+watch_chromium.org, sriramsr+watch-blimp_chromium.org, James Su, tfarina, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add GetTextDirection to ui::TextInputClient API. TextInputClient supports forcing a particular TextDirection via ChangeTextDirectionAndLayoutAlignment, but has no method for retreiving the same. As a result clients have no way but to recompute the text direction every time from the text. This CL adds a GetTextDirection method to TextInputClient to get the current text direction. BUG=618184 Committed: https://crrev.com/853189795fc2ac4170c34ff41037b0b76281f1ee Cr-Commit-Position: refs/heads/master@{#399651}

Patch Set 1 : #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -7 lines) Patch
M components/arc/ime/arc_ime_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/arc/ime/arc_ime_service.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ui/base/ime/dummy_text_input_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/ime/dummy_text_input_client.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/base/ime/text_input_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/controls/prefix_selector.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/controls/prefix_selector.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield.h View 1 2 chunks +1 line, -3 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
karandeepb
PTAL shuchen@ for ui/base/ime. Do you think this API change is a good idea? As ...
4 years, 6 months ago (2016-05-31 09:44:47 UTC) #5
Shu Chen
+suzhe@ who originally designed the interface. I think the interface is majorly used by ui::InputMethod ...
4 years, 6 months ago (2016-05-31 12:35:58 UTC) #7
karandeepb
ping suzhe@. +sky@ for ui/ review. +jochen@ for components/ and content/ review.
4 years, 6 months ago (2016-06-09 03:46:42 UTC) #10
sky
LGTM
4 years, 6 months ago (2016-06-09 17:23:53 UTC) #11
karandeepb
ping suzhe@ and jochen@.
4 years, 6 months ago (2016-06-10 08:17:12 UTC) #12
jochen (gone - plz use gerrit)
lgtm
4 years, 6 months ago (2016-06-13 15:25:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024003002/40001
4 years, 6 months ago (2016-06-14 02:44:48 UTC) #15
James Su
lgtm
4 years, 6 months ago (2016-06-14 02:58:03 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 6 months ago (2016-06-14 06:29:58 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-14 06:30:07 UTC) #19
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 06:33:37 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/853189795fc2ac4170c34ff41037b0b76281f1ee
Cr-Commit-Position: refs/heads/master@{#399651}

Powered by Google App Engine
This is Rietveld 408576698