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

Issue 2454213002: Use modes to switch cvox panel between collapsed, menus, focused, and tutorial (Closed)

Created:
4 years, 1 month ago by dmazzoni
Modified:
4 years, 1 month ago
Reviewers:
David Tseng
CC:
chromium-reviews, alemate+watch_chromium.org, oshima+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, dmazzoni+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use modes to switch cvox panel between collapsed, menus, focused, and tutorial The ChromeVox tutorial didn't close itself properly, it didn't restore the state of the HTML properly. To enforce that the panel UI is always in one mode, make the mode explicit with an enum and have a single function to transition between modes. Fix a few related issues and ensure that once you're in the tutorial you can exit easily with the close button or by pressing Escape. BUG=618090 TEST=Manually test opening menus, incremental search, and tutorial, and closing each by selecting, pressing close button, or pressing escape CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/477fa87081dc2a5161594ff03ff2337898b53d15 Cr-Commit-Position: refs/heads/master@{#429224}

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -27 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.css View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js View 14 chunks +73 lines, -26 lines 8 comments Download

Messages

Total messages: 21 (10 generated)
dmazzoni
4 years, 1 month ago (2016-10-27 21:08:33 UTC) #4
David Tseng
https://codereview.chromium.org/2454213002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js (right): https://codereview.chromium.org/2454213002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js#newcode34 chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js:34: FULLSCREEN_TUTORIAL: 'tutorial' Is there a non full screen tutorial ...
4 years, 1 month ago (2016-10-28 21:24:36 UTC) #8
dmazzoni
https://codereview.chromium.org/2454213002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js (right): https://codereview.chromium.org/2454213002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js#newcode34 chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js:34: FULLSCREEN_TUTORIAL: 'tutorial' On 2016/10/28 21:24:35, David Tseng wrote: > ...
4 years, 1 month ago (2016-10-28 21:29:13 UTC) #9
dmazzoni
https://codereview.chromium.org/2454213002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js (right): https://codereview.chromium.org/2454213002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js#newcode639 chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js:639: Panel.setMode(Panel.Mode.COLLAPSED); On 2016/10/28 21:24:35, David Tseng wrote: > Not ...
4 years, 1 month ago (2016-10-28 21:31:29 UTC) #10
David Tseng
lgtm https://codereview.chromium.org/2454213002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js (right): https://codereview.chromium.org/2454213002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js#newcode34 chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js:34: FULLSCREEN_TUTORIAL: 'tutorial' On 2016/10/28 21:29:13, dmazzoni wrote: > ...
4 years, 1 month ago (2016-10-28 23:02:13 UTC) #11
dmazzoni
https://codereview.chromium.org/2454213002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js (right): https://codereview.chromium.org/2454213002/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js#newcode259 chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js:259: this.mode_ = mode; On 2016/10/28 23:02:13, David Tseng wrote: ...
4 years, 1 month ago (2016-11-01 22:31:22 UTC) #12
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/2454213002/1
4 years, 1 month ago (2016-11-01 22:32:57 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/263959)
4 years, 1 month ago (2016-11-01 23:02:42 UTC) #16
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/2454213002/1
4 years, 1 month ago (2016-11-02 06:36:45 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-02 06:58:37 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 07:00:06 UTC) #21
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/477fa87081dc2a5161594ff03ff2337898b53d15
Cr-Commit-Position: refs/heads/master@{#429224}

Powered by Google App Engine
This is Rietveld 408576698