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

Issue 2443103004: Defer creating ChromeVox node menus to make menus open more quickly. (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

Defer creating ChromeVox node menus to make menus open more quickly. BUG=none TESTED=open panel menu and/or open headings list on large wikipedia page CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/c85fe43444f846892f95485127367a7cddd321cf Cr-Commit-Position: refs/heads/master@{#429231}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Improve jankiness, add jsdoc #

Total comments: 3

Patch Set 3 : Call finish from all codepaths #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -42 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js View 1 2 2 chunks +20 lines, -9 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js View 1 2 3 chunks +98 lines, -33 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
dmazzoni
4 years, 1 month ago (2016-10-24 19:55:03 UTC) #3
David Tseng
https://codereview.chromium.org/2443103004/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js (right): https://codereview.chromium.org/2443103004/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js#newcode244 chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js:244: }).bind(this), 500); It would be great if defer could ...
4 years, 1 month ago (2016-10-24 22:19:11 UTC) #4
dmazzoni
https://codereview.chromium.org/2443103004/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js (right): https://codereview.chromium.org/2443103004/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js#newcode244 chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js:244: }).bind(this), 500); On 2016/10/24 22:19:11, David Tseng wrote: > ...
4 years, 1 month ago (2016-10-27 18:56:36 UTC) #5
David Tseng
https://codereview.chromium.org/2443103004/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js (right): https://codereview.chromium.org/2443103004/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js#newcode269 chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js:269: if (!this.node_) Does this happen? Maybe you should store ...
4 years, 1 month ago (2016-10-28 21:11:34 UTC) #6
dmazzoni
https://codereview.chromium.org/2443103004/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js (right): https://codereview.chromium.org/2443103004/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js#newcode269 chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js:269: if (!this.node_) On 2016/10/28 21:11:34, David Tseng wrote: > ...
4 years, 1 month ago (2016-10-28 21:28:06 UTC) #7
David Tseng
https://codereview.chromium.org/2443103004/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js (right): https://codereview.chromium.org/2443103004/diff/20001/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js#newcode269 chrome/browser/resources/chromeos/chromevox/cvox2/background/panel_menu.js:269: if (!this.node_) On 2016/10/28 21:28:06, dmazzoni wrote: > On ...
4 years, 1 month ago (2016-10-28 23:09:15 UTC) #8
dmazzoni
Good call about calling finish() from all codepaths. Fixed, PTAL.
4 years, 1 month ago (2016-11-01 22:17:16 UTC) #9
David Tseng
lgtm
4 years, 1 month ago (2016-11-01 22:20:18 UTC) #10
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/2443103004/40001
4 years, 1 month ago (2016-11-02 06:36:56 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-02 07:51:47 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 07:53:32 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c85fe43444f846892f95485127367a7cddd321cf
Cr-Commit-Position: refs/heads/master@{#429231}

Powered by Google App Engine
This is Rietveld 408576698