| Index: third_party/closure_compiler/externs/manifest_types.js
|
| diff --git a/third_party/closure_compiler/externs/manifest_types.js b/third_party/closure_compiler/externs/manifest_types.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c04e1386feee124cdb292e97ac2aeb8867d4ada5
|
| --- /dev/null
|
| +++ b/third_party/closure_compiler/externs/manifest_types.js
|
| @@ -0,0 +1,85 @@
|
| +// Copyright 2017 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.
|
| +
|
| +// This file was generated by:
|
| +// ./compiler.py.
|
| +// NOTE: The format of types has changed. 'FooType' is now
|
| +// 'chrome.manifestTypes.FooType'.
|
| +// Please run the closure compiler before committing changes.
|
| +// See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md
|
| +
|
| +/** @fileoverview Externs generated from namespace: manifestTypes */
|
| +
|
| +/**
|
| + * @const
|
| + */
|
| +chrome.manifestTypes = {};
|
| +
|
| +/**
|
| + * Chrome settings which can be overriden by an extension.
|
| + * @typedef {{
|
| + * homepage: (string|undefined),
|
| + * search_provider: ({
|
| + * name: (string|undefined),
|
| + * keyword: (string|undefined),
|
| + * favicon_url: (string|undefined),
|
| + * search_url: string,
|
| + * encoding: (string|undefined),
|
| + * suggest_url: (string|undefined),
|
| + * instant_url: (string|undefined),
|
| + * image_url: (string|undefined),
|
| + * search_url_post_params: (string|undefined),
|
| + * suggest_url_post_params: (string|undefined),
|
| + * instant_url_post_params: (string|undefined),
|
| + * image_url_post_params: (string|undefined),
|
| + * alternate_urls: (!Array<string>|undefined),
|
| + * prepopulated_id: (number|undefined),
|
| + * is_default: boolean
|
| + * }|undefined),
|
| + * startup_pages: (!Array<string>|undefined)
|
| + * }}
|
| + * @see https://developer.chrome.com/extensions/manifestTypes#type-ChromeSettingsOverrides
|
| + */
|
| +chrome.manifestTypes.ChromeSettingsOverrides;
|
| +
|
| +/**
|
| + * Chrome user interface features which can be overriden by an extension.
|
| + * @typedef {{
|
| + * bookmarks_ui: ({
|
| + * remove_button: (boolean|undefined),
|
| + * remove_bookmark_shortcut: (boolean|undefined),
|
| + * remove_bookmark_open_pages_shortcut: (boolean|undefined)
|
| + * }|undefined)
|
| + * }}
|
| + * @see https://developer.chrome.com/extensions/manifestTypes#type-ChromeUIOverrides
|
| + */
|
| +chrome.manifestTypes.ChromeUIOverrides;
|
| +
|
| +/**
|
| + * This API provides programmatic access to the user interface elements of Chrome. This includes everything in the web view, and optionally Chrome's full user interface.
|
| + * @see https://developer.chrome.com/extensions/manifestTypes#type-automation
|
| + */
|
| +chrome.manifestTypes.automation;
|
| +
|
| +/**
|
| + * @enum {string}
|
| + * @see https://developer.chrome.com/extensions/manifestTypes#type-FileSystemProviderSource
|
| + */
|
| +chrome.manifestTypes.FileSystemProviderSource = {
|
| + FILE: 'file',
|
| + DEVICE: 'device',
|
| + NETWORK: 'network',
|
| +};
|
| +
|
| +/**
|
| + * Represents capabilities of a providing extension.
|
| + * @typedef {{
|
| + * configurable: (boolean|undefined),
|
| + * multiple_mounts: (boolean|undefined),
|
| + * watchable: (boolean|undefined),
|
| + * source: !chrome.manifestTypes.FileSystemProviderSource
|
| + * }}
|
| + * @see https://developer.chrome.com/extensions/manifestTypes#type-FileSystemProviderCapabilities
|
| + */
|
| +chrome.manifestTypes.FileSystemProviderCapabilities;
|
|
|