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

Unified Diff: third_party/WebKit/LayoutTests/media/mediasession/mojo/resources/utils.js

Issue 2426653002: Adding mojo MediaSessionClient to support media controls (Closed)
Patch Set: rebased and nits Created 4 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/LayoutTests/media/mediasession/mojo/resources/utils.js
diff --git a/third_party/WebKit/LayoutTests/media/mediasession/mojo/resources/utils.js b/third_party/WebKit/LayoutTests/media/mediasession/mojo/resources/utils.js
index e1cfa6f5eedd4f44772f18bb3b6108a6caab2de6..1f9de29669e0d0238e145d0fc286a0d39db5861a 100644
--- a/third_party/WebKit/LayoutTests/media/mediasession/mojo/resources/utils.js
+++ b/third_party/WebKit/LayoutTests/media/mediasession/mojo/resources/utils.js
@@ -1,3 +1,11 @@
+var MOJOM_ACTION_PLAY = 0;
+var MOJOM_ACTION_PAUSE = 1;
+var MOJOM_ACTION_PLAY_PAUSE = 2;
+var MOJOM_ACTION_PREVIOUS_TRACK = 3;
+var MOJOM_ACTION_NEXT_TRACK = 4;
+var MOJOM_ACTION_SEEK_FORWARD = 5;
+var MOJOM_ACTION_SEEK_BACKWARD = 6;
+
function assert_image_equals(expected, observed) {
assert_equals(expected.src, observed.src);
assert_equals(expected.type, observed.type);

Powered by Google App Engine
This is Rietveld 408576698