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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.h

Issue 1417683004: Media controls refer to less magic state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased, fixed assert. Created 5 years, 2 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: third_party/WebKit/Source/core/testing/Internals.h
diff --git a/third_party/WebKit/Source/core/testing/Internals.h b/third_party/WebKit/Source/core/testing/Internals.h
index 7133f56855db1fbe6568f420db3301e920762cef..700f7ae20ad4095c89d751e620027b3d718083b3 100644
--- a/third_party/WebKit/Source/core/testing/Internals.h
+++ b/third_party/WebKit/Source/core/testing/Internals.h
@@ -395,6 +395,9 @@ public:
// Translate given platform monotonic time in seconds to high resolution
// document time in seconds
double monotonicTimeToZeroBasedDocumentTime(double, ExceptionState&);
+
+ void setMediaElementNetworkState(HTMLMediaElement*, long state);
philipj_slow 2015/10/30 10:55:37 The long type in WebIDL <https://heycam.github.io/
liberato (no reviews please) 2015/10/30 15:09:07 Done.
philipj_slow 2015/11/03 09:04:06 The int32_t mention was to point out that WebIDL's
+
private:
explicit Internals(ScriptState*);
Document* contextDocument() const;

Powered by Google App Engine
This is Rietveld 408576698