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

Issue 1495873002: AudioPlayer: Stop using Object.observe() and Array.observe(). (Closed)

Created:
5 years ago by fukino
Modified:
5 years ago
Reviewers:
yoshiki
CC:
chromium-reviews, vitalyp+closure_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, jlklein+watch-closure_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

AudioPlayer: Stop using Object.observe() and Array.observe(). Object.observe() and Array.observe() will soon be deprecated. This CL modify audio player to stop using it by listen to AudioPlayerElement's property changes directly, rather than the model object. BUG=552113 TEST=manually Committed: https://crrev.com/4f121b1dcf06666a6531e2620794662fc7875e00 Cr-Commit-Position: refs/heads/master@{#363425}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Listen to property-change events for four states explicitly. Stop using Array.observe. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -237 lines) Patch
M ui/file_manager/audio_player/elements/audio_player.js View 7 chunks +4 lines, -64 lines 0 comments Download
M ui/file_manager/audio_player/elements/track_list.js View 1 3 chunks +0 lines, -31 lines 0 comments Download
M ui/file_manager/audio_player/js/audio_player.js View 1 3 chunks +29 lines, -18 lines 0 comments Download
D ui/file_manager/audio_player/js/audio_player_model.js View 1 chunk +0 lines, -86 lines 0 comments Download
M ui/file_manager/audio_player/js/audio_player_scripts.js View 1 chunk +0 lines, -1 line 0 comments Download
M ui/file_manager/audio_player/js/compiled_resources.gyp View 1 2 chunks +0 lines, -2 lines 0 comments Download
M ui/file_manager/externs/es7_workaround.js View 1 1 chunk +0 lines, -35 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
fukino
Yoshiki-san, PTAL this CL. Thanks!
5 years ago (2015-12-03 12:16:18 UTC) #2
fukino
On 2015/12/03 12:16:18, fukino wrote: > Yoshiki-san, PTAL this CL. Thanks! Ping. (just in case)
5 years ago (2015-12-07 05:13:56 UTC) #3
yoshiki
Also, please ensure that all functionality works well, since it may change the timing of ...
5 years ago (2015-12-07 05:39:21 UTC) #4
fukino
Thank you for the review! Could you take another look? As far as I have ...
5 years ago (2015-12-07 07:21:01 UTC) #5
yoshiki
lgtm
5 years ago (2015-12-07 08:05:51 UTC) #7
fukino
On 2015/12/07 08:05:51, yoshiki wrote: > lgtm Thank you!
5 years ago (2015-12-07 08:16:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1495873002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1495873002/20001
5 years ago (2015-12-07 08:17:02 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-07 08:47:06 UTC) #12
commit-bot: I haz the power
5 years ago (2015-12-07 08:48:06 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4f121b1dcf06666a6531e2620794662fc7875e00
Cr-Commit-Position: refs/heads/master@{#363425}

Powered by Google App Engine
This is Rietveld 408576698