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

Issue 1039703002: Make contracted braille input work in more contexts. (Closed)

Created:
5 years, 9 months ago by Peter Lundblad
Modified:
5 years, 7 months ago
Reviewers:
David Tseng
CC:
chromium-reviews, dtseng+watch_chromium.org, je_julie(Not used), nkostylev+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, dmazzoni+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@docs2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make contracted braille input work in more contexts. Before, when entering contracted (gradd 2) braille, backtracking was done using the chrome.input.ime.deleteSurroundingText API. This made text entry visible in the text field immediately. Unfortunately, some contexts don't handle programmatic deletion well (Google Docs' editor is an example). The new approach is to not commit the text ot the edit field until a word has been entered or a non-braille key is entered. To make the user experience better for the braille user, entered braille cells are shown on the display right before the curent selection so that the user gets immediate feedback when typing on the braille dipslay. This approach has drawbacks as well. For example, clicking with a mouse while typing could move focus before the IME has a chance to submit the in-progress word. The assumption is that this would be less of a problem in practice then not being able to use grade 2 at all in some situations. BUG=392854 Committed: https://crrev.com/c808864717a9641fd367af747763ce0935b1236f Cr-Commit-Position: refs/heads/master@{#330711}

Patch Set 1 #

Total comments: 7

Patch Set 2 : New approach: store pending cells and only commit to the text field on space to be more conservativ… #

Patch Set 3 : Finish implementation and tests. #

Patch Set 4 : Rebase #

Messages

Total messages: 12 (3 generated)
Peter Lundblad
FYI, follow up to the braille input refactoring for motivation. Soon ready.
5 years, 9 months ago (2015-03-27 15:41:58 UTC) #2
David Tseng
https://codereview.chromium.org/1039703002/diff/1/chrome/browser/resources/chromeos/braille_ime/braille_ime.js File chrome/browser/resources/chromeos/braille_ime/braille_ime.js (right): https://codereview.chromium.org/1039703002/diff/1/chrome/browser/resources/chromeos/braille_ime/braille_ime.js#newcode136 chrome/browser/resources/chromeos/braille_ime/braille_ime.js:136: /** @type {number} */ nit: @private; also, perhaps combine ...
5 years, 8 months ago (2015-03-30 17:13:44 UTC) #3
Peter Lundblad
Hi, Still not ready for review, just responding to old comments. dtseng@chromium.org writes: > > ...
5 years, 7 months ago (2015-05-05 15:18:14 UTC) #4
Peter Lundblad
David, ready for review and perhaps even a test drive. I'd like your feedback on ...
5 years, 7 months ago (2015-05-11 20:53:48 UTC) #5
David Tseng
A few issues observed while using this with Docs: - while typing input, if you ...
5 years, 7 months ago (2015-05-11 22:45:03 UTC) #6
David Tseng
lgtm
5 years, 7 months ago (2015-05-19 19:05:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1039703002/60001
5 years, 7 months ago (2015-05-20 07:48:00 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-05-20 07:51:47 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-05-20 07:52:47 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c808864717a9641fd367af747763ce0935b1236f
Cr-Commit-Position: refs/heads/master@{#330711}

Powered by Google App Engine
This is Rietveld 408576698