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

Issue 1002473003: Expose text track settings in Content and implement for Android (Closed)

Created:
5 years, 9 months ago by dspell
Modified:
5 years, 8 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, je_julie(Not used), creis+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, nasko+codewatch_chromium.org, jam, yuzo+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose text track settings in Content and implement for Android WebKit CL : https://codereview.chromium.org/921833003/ This commit exposes the settings introduced in the above WebKit CL: Text color, background color, text shadow, font size, font family, font style, and font variant. These settings are implemented and used for Android with this commit. BUG=457850 TEST=content/public/android/javatests/src/org/chromium/content/browser/CaptioningChangeDelegateTest.java Committed: https://crrev.com/e736c9db485fc59e61a7c81e5ec59301e083aad0 Cr-Commit-Position: refs/heads/master@{#323579}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved IPC to RenderFrame(Host) #

Total comments: 4

Patch Set 3 : Addressed typo, DCHECKS, and nits. #

Patch Set 4 : Honor author-specified settings when top level captions are off #

Patch Set 5 : Rebase #

Patch Set 6 : Fix CQ Issues #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1001 lines, -0 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 chunk +10 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 1 chunk +28 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 2 chunks +28 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 7 chunks +30 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningBridgeFactory.java View 1 chunk +29 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java View 1 2 3 4 5 1 chunk +285 lines, -0 lines 1 comment Download
A content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningStyle.java View 1 chunk +145 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/EmptyCaptioningBridge.java View 1 chunk +21 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/KitKatCaptioningBridge.java View 1 chunk +98 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/SystemCaptioningBridge.java View 1 chunk +21 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/TextTrackSettings.java View 1 2 3 1 chunk +111 lines, -0 lines 0 comments Download
A content/public/android/javatests/src/org/chromium/content/browser/CaptioningChangeDelegateTest.java View 1 chunk +158 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 3 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (8 generated)
dspell
Hi nasko, This is the Chromium side of Closed Caption Settings with an Android implementation. ...
5 years, 9 months ago (2015-03-11 22:54:24 UTC) #2
nasko
Couple of things: * We are moving away from RenderView(Host) objects in favor of RenderFrame(Host) ...
5 years, 9 months ago (2015-03-11 23:58:09 UTC) #3
philipj_slow
I don't know who would be a good person to review the Android bits, but ...
5 years, 9 months ago (2015-03-12 04:56:10 UTC) #4
dmazzoni
+dtrainor David, could you review the Android parts of the code and help find other ...
5 years, 9 months ago (2015-03-12 05:05:43 UTC) #6
dspell
On 2015/03/11 23:58:09, nasko wrote: > Couple of things: > * We are moving away ...
5 years, 9 months ago (2015-03-12 18:01:14 UTC) #7
dspell
On 2015/03/11 23:58:09, nasko wrote: > Couple of things: > * We are moving away ...
5 years, 9 months ago (2015-03-12 18:03:41 UTC) #8
David Trainor- moved to gerrit
Android bits lgtm. Thanks! https://chromiumcodereview.appspot.com/1002473003/diff/1/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java File content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java (right): https://chromiumcodereview.appspot.com/1002473003/diff/1/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java#newcode147 content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java:147: default: // CaptionStyle.EDGE_TPYE_NONE TPYE -> ...
5 years, 9 months ago (2015-03-12 18:10:17 UTC) #9
nasko
Thanks for moving the code over! This will save us unnecessary work. Just a few ...
5 years, 9 months ago (2015-03-12 20:53:53 UTC) #10
dspell
I addressed all the comments. PTAL. Thanks, Dspell
5 years, 9 months ago (2015-03-12 21:52:25 UTC) #11
nasko
LGTM
5 years, 9 months ago (2015-03-12 22:07:40 UTC) #12
dspell
On 2015/03/12 22:07:40, nasko wrote: > LGTM I added another patchset due to feedback from ...
5 years, 9 months ago (2015-03-18 19:15:29 UTC) #13
David Trainor- moved to gerrit
android bits still LGTM
5 years, 9 months ago (2015-03-18 19:36:05 UTC) #14
philipj_slow
I would like it very much if the CaptioningManager.isEnabled() is made into an explicit setting ...
5 years, 9 months ago (2015-03-19 13:54:00 UTC) #15
dspell
On 2015/03/19 13:54:00, philipj_UTC7 wrote: > I would like it very much if the CaptioningManager.isEnabled() ...
5 years, 9 months ago (2015-03-20 16:59:00 UTC) #16
dspell
The corresponding WebKit CL has landed. This is a rebase that fixed merge conflicts in ...
5 years, 9 months ago (2015-03-27 18:01:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1002473003/80001
5 years, 9 months ago (2015-03-27 18:02:44 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/52379)
5 years, 9 months ago (2015-03-27 18:12:24 UTC) #22
dspell
This patch set fixes the issues found in CQ. PTAL
5 years, 9 months ago (2015-03-27 23:49:09 UTC) #23
qinmin
https://codereview.chromium.org/1002473003/diff/100001/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java File content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java (right): https://codereview.chromium.org/1002473003/diff/100001/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java#newcode89 content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java:89: if (typeFace != null && typeFace.isItalic()) { Not sure ...
5 years, 8 months ago (2015-04-01 19:08:20 UTC) #25
dspell
Hi David, Would you like to review the changes I made to fix the CQ, ...
5 years, 8 months ago (2015-04-01 20:15:44 UTC) #26
dspell
On 2015/04/01 19:08:20, qinmin wrote: > https://codereview.chromium.org/1002473003/diff/100001/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java > File > content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java > (right): > > ...
5 years, 8 months ago (2015-04-01 21:52:43 UTC) #27
David Trainor- moved to gerrit
lgtm
5 years, 8 months ago (2015-04-01 22:16:37 UTC) #28
dspell
On 2015/04/01 19:08:20, qinmin wrote: > https://codereview.chromium.org/1002473003/diff/100001/content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java > File > content/public/android/java/src/org/chromium/content/browser/accessibility/captioning/CaptioningChangeDelegate.java > (right): > > ...
5 years, 8 months ago (2015-04-02 18:40:05 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1002473003/100001
5 years, 8 months ago (2015-04-02 18:45:15 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-03 04:53:32 UTC) #33
commit-bot: I haz the power
5 years, 8 months ago (2015-04-03 20:29:54 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e736c9db485fc59e61a7c81e5ec59301e083aad0
Cr-Commit-Position: refs/heads/master@{#323579}

Powered by Google App Engine
This is Rietveld 408576698