commit | 5612ee0e0f58cbc70848eda102bdc6bb7e432323 | [log] [tgz] |
---|---|---|
author | Yuli Huang <yuli@chromium.org> | Tue Feb 12 10:41:17 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 12 10:41:17 2019 |
tree | 366bd2b0f871c9b767ff4bde86218e0296802c29 | |
parent | 03f761552fcfd7268e59a59726b17e1f848f46f1 [diff] |
Make play-sound an util function, decoupling from Options. 1. Add sound.js that simplifies adding and playing sounds. 2. Define audio resources in html/css instead of in js. BUG=None TEST=Tested by tick/shutter/record-start/record-end sounds. Change-Id: Iabb70f4c38153913504d45c12d21c961177ec5af Reviewed-on: https://chromium-review.googlesource.com/c/1461956 Reviewed-by: Sheng-hao Tsao <shenghao@google.com> Commit-Queue: yuli <yuli@chromium.org> Cr-Commit-Position: refs/heads/master@{#631168}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .