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

Unified Diff: Source/core/html/HTMLMediaElement.h

Issue 22645014: Merge WebKit r153448 (Optimizes the number of updateTextTrackDisplay calls) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated tests Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index d00b28613d346ccc6620c2212d3ff71df3852a62..3762e9363e39ca5754855ed2da17dbb78faf9561 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -232,7 +232,11 @@ public:
void configureTextTrackGroup(const TrackGroup&);
bool textTracksAreReady() const;
- void configureTextTrackDisplay();
+ enum VisibilityChangeAssumption {
+ AssumeNoVisibleChange,
+ AssumeVisibleChange
+ };
+ void configureTextTrackDisplay(VisibilityChangeAssumption);
void updateTextTrackDisplay();
// TextTrackClient

Powered by Google App Engine
This is Rietveld 408576698