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

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

Issue 982553002: Paint buffered range closest to the current play position (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | Source/core/html/TimeRanges.cpp » ('j') | Source/core/layout/LayoutMediaControls.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/TimeRanges.h
diff --git a/Source/core/html/TimeRanges.h b/Source/core/html/TimeRanges.h
index c73b7d76cfcd644e47e3864f11cf06f989174f18..35a6601fc8fa5d308eed7af4d011e81ddfacd19b 100644
--- a/Source/core/html/TimeRanges.h
+++ b/Source/core/html/TimeRanges.h
@@ -110,6 +110,7 @@ public:
bool contain(double time) const;
double nearest(double newPlaybackPosition, double currentPlaybackPosition) const;
+ unsigned nearestRange(double position) const;
DECLARE_TRACE();
« no previous file with comments | « no previous file | Source/core/html/TimeRanges.cpp » ('j') | Source/core/layout/LayoutMediaControls.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698