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

Unified Diff: third_party/WebKit/public/platform/modules/manifest/manifest.mojom

Issue 1913043002: Convert ManifestManager IPCs to Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/public/platform/modules/manifest/manifest.mojom
diff --git a/third_party/WebKit/public/platform/modules/manifest/manifest.mojom b/third_party/WebKit/public/platform/modules/manifest/manifest.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..51a2ef55580656ee492fd4d4848ca19e565c3fd7
--- /dev/null
+++ b/third_party/WebKit/public/platform/modules/manifest/manifest.mojom
@@ -0,0 +1,36 @@
+// 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.
+
+module blink.mojom;
+
+import "third_party/WebKit/public/platform/display_mode.mojom";
+import "third_party/WebKit/public/platform/modules/screen_orientation/screen_orientation.mojom";
+import "ui/gfx/geometry/mojo/geometry.mojom";
+import "url/mojo/url.mojom";
+
+struct ManifestIcon {
+ url.mojom.Url src;
+ string? type;
+ array<gfx.mojom.Size> sizes;
+};
+
+struct RelatedApplication {
+ string? platform;
+ url.mojom.Url url;
+ string? id;
+};
+
+struct Manifest {
+ string? name;
+ string? short_name;
+ url.mojom.Url? start_url;
+ DisplayMode display;
+ ScreenOrientationLockType orientation;
+ array<ManifestIcon>? icons;
+ array<RelatedApplication>? related_applications;
+ bool prefer_related_applications;
+ int64 theme_color;
+ int64 background_color;
+ string? gcm_sender_id;
+};

Powered by Google App Engine
This is Rietveld 408576698