WebVTT: Add opacity support, and color support for window on Win10
This CL adds support for text and background opacity on Win10 by computing the color string with an alpha value corresponding to the user's choice in Settings. In addition, it also adds support for window color (with opacity) now that CaptionStyle also contains a string for window_color. With this change, all caption styling properties that show up in Win10 Settings are now supported in Chromium on Win10. New Properties added: 1. Caption Text Opacity 2. Background Opacity 3. Window Color 4. Window Opacity Bug: 1001736 Change-Id: I3e80f88219faa7407bbd015074c486bc4d680e5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1794002 Commit-Queue: Rahul Singh <rahsin@microsoft.com> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#695853}
Showing
Please register or sign in to comment