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

Issue 1455223003: Stop ChromeVox Next page loading sounds when page finishes loading. (Closed)

Created:
5 years, 1 month ago by dmazzoni
Modified:
5 years ago
CC:
chromium-reviews, oshima+watch_chromium.org, plundblad+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
Base URL:
https://chromium.googlesource.com/chromium/src.git@active_indicator_next
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop ChromeVox Next page loading sounds when page finishes loading. The underlying issue was that the chrome.tabs.onUpdated event sometimes doesn't fire when a page finishes loading, so this change adds code to poll it. In addition, it distinguishes between a page finishing loading, and cancelling the page load - like when you switch from a loading tab to a tab that's already loaded. BUG=557913 Committed: https://crrev.com/6ce5cc796fbb7d67377df79e4a2e814da1fa59f6 Cr-Commit-Position: refs/heads/master@{#361766}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Fixed focus changing and removing all tabs, addressed other feedback #

Messages

Total messages: 14 (5 generated)
dmazzoni
5 years, 1 month ago (2015-11-18 19:44:59 UTC) #2
Peter Lundblad
lgtm Is ti feasable to write some test for the state handling? https://codereview.chromium.org/1455223003/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js File chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js ...
5 years, 1 month ago (2015-11-19 13:04:42 UTC) #3
David Tseng
https://codereview.chromium.org/1455223003/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js File chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js (right): https://codereview.chromium.org/1455223003/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js#newcode93 chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js:93: if (tab.status == 'loading' && !this.isPageLoading_()) { This line ...
5 years, 1 month ago (2015-11-19 17:04:09 UTC) #5
David Tseng
https://codereview.chromium.org/1455223003/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js File chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js (right): https://codereview.chromium.org/1455223003/diff/1/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js#newcode208 chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js:208: cancelPageLoadTimer_: function() { On 2015/11/19 17:04:09, David Tseng wrote: ...
5 years, 1 month ago (2015-11-19 17:10:35 UTC) #6
dmazzoni
PTAL. All feedback addressed but could use one more review pass. Tests would be nice ...
5 years ago (2015-11-25 21:13:19 UTC) #7
David Tseng
lgtm 
5 years ago (2015-11-25 23:33:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455223003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455223003/20001
5 years ago (2015-11-25 23:40:20 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-11-26 00:44:27 UTC) #12
commit-bot: I haz the power
5 years ago (2015-11-26 00:49:23 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6ce5cc796fbb7d67377df79e4a2e814da1fa59f6
Cr-Commit-Position: refs/heads/master@{#361766}

Powered by Google App Engine
This is Rietveld 408576698