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

Issue 869623002: VTTCue: Refactor display parameter handling (Closed)

Created:
5 years, 11 months ago by fs
Modified:
5 years, 11 months ago
Reviewers:
philipj_slow
CC:
blink-reviews, nessy, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, blink-reviews-html_chromium.org, vcarbune.chromium
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

VTTCue: Refactor display parameter handling Move VTTCue::m_display* into a separate struct (VTTDisplayParameters) and let VTTCue::calculateDisplayParameters return said struct. The returned struct is then passed to VTTCueBox for application. Also drop VTTCue::m_computedLinePosition. Also move the call to createVTTNodeTree out of calculateDisplayParameters to allow marking the latter const. The method VTTCue::getPositionCoordinates is folded into calculateDisplayParameters. Additional mark some methods const (calculateComputedLinePosition, settingName), and drop the 'videoSize' argument from TextTrackCue::updateDisplay (and callees) since it isn't used ATM. BUG=301580 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188939

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -111 lines) Patch
M Source/core/html/shadow/MediaControlElements.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/TextTrackCue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/vtt/VTTCue.h View 8 chunks +17 lines, -21 lines 0 comments Download
M Source/core/html/track/vtt/VTTCue.cpp View 18 chunks +60 lines, -88 lines 2 comments Download

Messages

Total messages: 6 (2 generated)
fs
https://codereview.chromium.org/869623002/diff/1/Source/core/html/track/vtt/VTTCue.cpp File Source/core/html/track/vtt/VTTCue.cpp (right): https://codereview.chromium.org/869623002/diff/1/Source/core/html/track/vtt/VTTCue.cpp#newcode771 Source/core/html/track/vtt/VTTCue.cpp:771: // FIXME: Remove this block. Kept this block (from ...
5 years, 11 months ago (2015-01-22 17:43:21 UTC) #2
philipj_slow
lgtm https://codereview.chromium.org/869623002/diff/1/Source/core/html/track/vtt/VTTCue.cpp File Source/core/html/track/vtt/VTTCue.cpp (right): https://codereview.chromium.org/869623002/diff/1/Source/core/html/track/vtt/VTTCue.cpp#newcode771 Source/core/html/track/vtt/VTTCue.cpp:771: // FIXME: Remove this block. On 2015/01/22 17:43:21, ...
5 years, 11 months ago (2015-01-26 03:00:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/869623002/1
5 years, 11 months ago (2015-01-26 03:00:52 UTC) #5
commit-bot: I haz the power
5 years, 11 months ago (2015-01-26 03:03:30 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=188939

Powered by Google App Engine
This is Rietveld 408576698