| // Copyright 2018 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. |
| |
| |
| |
| goog.provide('blink.mojom.Manifest'); |
| |
| blink.mojom.Manifest = class { |
| constructor() { |
| /** @type { mojoBase.mojom.String16 } */ |
| this.name; |
| /** @type { mojoBase.mojom.String16 } */ |
| this.shortName; |
| /** @type { !url.mojom.Url } */ |
| this.startUrl; |
| /** @type { !blink.mojom.DisplayMode } */ |
| this.display; |
| /** @type { !device.mojom.ScreenOrientationLockType } */ |
| this.orientation; |
| /** @type { !Array<blink.mojom.ManifestImageResource> } */ |
| this.icons; |
| /** @type { blink.mojom.ManifestShareTarget } */ |
| this.shareTarget; |
| /** @type { blink.mojom.ManifestFileHandler } */ |
| this.fileHandler; |
| /** @type { !Array<blink.mojom.ManifestRelatedApplication> } */ |
| this.relatedApplications; |
| /** @type { !boolean } */ |
| this.preferRelatedApplications; |
| /** @type { !boolean } */ |
| this.hasThemeColor; |
| /** @type { !boolean } */ |
| this.hasBackgroundColor; |
| /** @type { !number } */ |
| this.themeColor; |
| /** @type { !number } */ |
| this.backgroundColor; |
| /** @type { mojoBase.mojom.String16 } */ |
| this.gcmSenderId; |
| /** @type { !url.mojom.Url } */ |
| this.scope; |
| } |
| }; |
| |
| goog.provide('blink.mojom.ManifestImageResource'); |
| |
| blink.mojom.ManifestImageResource = class { |
| constructor() { |
| /** @type { !url.mojom.Url } */ |
| this.src; |
| /** @type { mojoBase.mojom.String16 } */ |
| this.type; |
| /** @type { !Array<gfx.mojom.Size> } */ |
| this.sizes; |
| /** @type { !Array<blink.mojom.Purpose> } */ |
| this.purpose; |
| } |
| }; |
| |
| goog.provide('blink.mojom.ManifestFileFilter'); |
| |
| blink.mojom.ManifestFileFilter = class { |
| constructor() { |
| /** @type { mojoBase.mojom.String16 } */ |
| this.name; |
| /** @type { !Array<mojoBase.mojom.String16> } */ |
| this.accept; |
| } |
| }; |
| |
| goog.provide('blink.mojom.ManifestRelatedApplication'); |
| |
| blink.mojom.ManifestRelatedApplication = class { |
| constructor() { |
| /** @type { mojoBase.mojom.String16 } */ |
| this.platform; |
| /** @type { url.mojom.Url } */ |
| this.url; |
| /** @type { mojoBase.mojom.String16 } */ |
| this.id; |
| } |
| }; |
| |
| goog.provide('blink.mojom.ManifestShareTargetParams'); |
| |
| blink.mojom.ManifestShareTargetParams = class { |
| constructor() { |
| /** @type { mojoBase.mojom.String16 } */ |
| this.title; |
| /** @type { mojoBase.mojom.String16 } */ |
| this.text; |
| /** @type { mojoBase.mojom.String16 } */ |
| this.url; |
| /** @type { Array<blink.mojom.ManifestFileFilter> } */ |
| this.files; |
| } |
| }; |
| |
| goog.provide('blink.mojom.ManifestShareTarget'); |
| |
| blink.mojom.ManifestShareTarget = class { |
| constructor() { |
| /** @type { !url.mojom.Url } */ |
| this.action; |
| /** @type { !blink.mojom.Method } */ |
| this.method; |
| /** @type { !blink.mojom.Enctype } */ |
| this.enctype; |
| /** @type { !blink.mojom.ManifestShareTargetParams } */ |
| this.params; |
| } |
| }; |
| |
| goog.provide('blink.mojom.ManifestFileHandler'); |
| |
| blink.mojom.ManifestFileHandler = class { |
| constructor() { |
| /** @type { !url.mojom.Url } */ |
| this.action; |
| /** @type { !Array<blink.mojom.ManifestFileFilter> } */ |
| this.files; |
| } |
| }; |
| |
| goog.provide('blink.mojom.ManifestDebugInfo'); |
| |
| blink.mojom.ManifestDebugInfo = class { |
| constructor() { |
| /** @type { !Array<blink.mojom.ManifestError> } */ |
| this.errors; |
| /** @type { !string } */ |
| this.rawManifest; |
| } |
| }; |
| |
| goog.provide('blink.mojom.ManifestError'); |
| |
| blink.mojom.ManifestError = class { |
| constructor() { |
| /** @type { !string } */ |
| this.message; |
| /** @type { !boolean } */ |
| this.critical; |
| /** @type { !number } */ |
| this.line; |
| /** @type { !number } */ |
| this.column; |
| } |
| }; |