| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module blink.mojom; |
| 6 |
| 7 import "third_party/WebKit/public/platform/display_mode.mojom"; |
| 8 import "third_party/WebKit/public/platform/modules/screen_orientation/screen_ori
entation.mojom"; |
| 9 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 10 import "url/mojo/url.mojom"; |
| 11 |
| 12 struct ManifestIcon { |
| 13 url.mojom.Url src; |
| 14 string? type; |
| 15 array<gfx.mojom.Size> sizes; |
| 16 }; |
| 17 |
| 18 struct RelatedApplication { |
| 19 string? platform; |
| 20 url.mojom.Url url; |
| 21 string? id; |
| 22 }; |
| 23 |
| 24 struct Manifest { |
| 25 string? name; |
| 26 string? short_name; |
| 27 url.mojom.Url? start_url; |
| 28 DisplayMode display; |
| 29 ScreenOrientationLockType orientation; |
| 30 array<ManifestIcon>? icons; |
| 31 array<RelatedApplication>? related_applications; |
| 32 bool prefer_related_applications; |
| 33 int64 theme_color; |
| 34 int64 background_color; |
| 35 string? gcm_sender_id; |
| 36 }; |
| OLD | NEW |