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

Unified Diff: third_party/WebKit/Source/modules/mediasession/MediaSession.typemap

Issue 2367393002: Migrating MediaSession messages to mojo (Closed)
Patch Set: blink typemap (need to revert blink typemap, only need content/ reivew) 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/Source/modules/mediasession/MediaSession.typemap
diff --git a/third_party/WebKit/Source/modules/mediasession/MediaSession.typemap b/third_party/WebKit/Source/modules/mediasession/MediaSession.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..25c56e25b046703767f6c05d28ed12e32d1398c2
--- /dev/null
+++ b/third_party/WebKit/Source/modules/mediasession/MediaSession.typemap
@@ -0,0 +1,16 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+mojom = "//third_party/WebKit/public/platform/modules/mediasession/media_session.mojom"
+public_headers =
+ [ "//third_party/WebKit/Source/modules/mediasession/MojoMediaMetadata.h" ]
+traits_headers = [ "//third_party/WebKit/Source/modules/mediasession/MediaSessionStructTraits.h" ]
+
+deps = [
+ "//mojo/public/cpp/bindings",
+]
+type_mappings = [
+ "blink.mojom.MediaArtwork=::blink::MojoMediaArtwork",
+ "blink.mojom.MediaMetadata=::blink::MojoMediaMetadata",
+]

Powered by Google App Engine
This is Rietveld 408576698