| 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;
|
| +};
|
|
|