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

Issue 250923003: Remove always-false settings for text track selection (Closed)

Created:
6 years, 8 months ago by philipj_slow
Modified:
6 years, 8 months ago
CC:
blink-reviews, nessy, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, adamk+blink_chromium.org, vcarbune.chromium, ojan
Visibility:
Public.

Description

Remove always-false settings for text track selection Since these settings were not exposed to Chromium or set in any other way, they were always false. shouldDisplayTextDescriptions was not even used internally. While the text track selection needs to be improved, but these settings made it look like it was more sophisticated than it really is. A new setting for hard-of-hearing users (preferring captions over subtitles) may eventually be needed, but that would be a single setting only. The removed comment no longer makes sense, because the maximum value returned by textTrackSelectionScore is now the return value of textTrackLanguageSelectionScore, which is not greater than itself... BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172695

Patch Set 1 #

Total comments: 2

Patch Set 2 : simplify more #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -31 lines) Patch
M Source/core/frame/Settings.in View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/html/HTMLMediaElement.cpp View 1 3 chunks +5 lines, -19 lines 0 comments Download
M Source/core/testing/InternalSettings.h View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/testing/InternalSettings.cpp View 2 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
philipj_slow
PTAL. If you have a *.in rubberstamp close by that would be nice, otherwise I'll ...
6 years, 8 months ago (2014-04-25 14:44:04 UTC) #1
acolwell GONE FROM CHROMIUM
lgtm % nit https://codereview.chromium.org/250923003/diff/1/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/250923003/diff/1/Source/core/html/HTMLMediaElement.cpp#newcode2403 Source/core/html/HTMLMediaElement.cpp:2403: return (languages.size() - languageMatchIndex) * 10; ...
6 years, 8 months ago (2014-04-25 23:57:27 UTC) #2
philipj_slow
https://codereview.chromium.org/250923003/diff/1/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/250923003/diff/1/Source/core/html/HTMLMediaElement.cpp#newcode2403 Source/core/html/HTMLMediaElement.cpp:2403: return (languages.size() - languageMatchIndex) * 10; On 2014/04/25 23:57:27, ...
6 years, 8 months ago (2014-04-26 00:02:06 UTC) #3
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 8 months ago (2014-04-26 00:03:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/250923003/20001
6 years, 8 months ago (2014-04-26 00:04:35 UTC) #5
commit-bot: I haz the power
6 years, 8 months ago (2014-04-26 03:29:23 UTC) #6
Message was sent while issue was closed.
Change committed as 172695

Powered by Google App Engine
This is Rietveld 408576698