| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file was generated by: | 5 // This file was generated by: |
| 6 // ./tools/json_schema_compiler/compiler.py. | 6 // ./tools/json_schema_compiler/compiler.py. |
| 7 // NOTE: The format of types has changed. 'FooType' is now | 7 // NOTE: The format of types has changed. 'FooType' is now |
| 8 // 'chrome.system.display.FooType'. | 8 // 'chrome.system.display.FooType'. |
| 9 // Please run the closure compiler before committing changes. | 9 // Please run the closure compiler before committing changes. |
| 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md | 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 /** | 112 /** |
| 113 * @typedef {{ | 113 * @typedef {{ |
| 114 * id: string, | 114 * id: string, |
| 115 * name: string, | 115 * name: string, |
| 116 * mirroringSourceId: string, | 116 * mirroringSourceId: string, |
| 117 * isPrimary: boolean, | 117 * isPrimary: boolean, |
| 118 * isInternal: boolean, | 118 * isInternal: boolean, |
| 119 * isEnabled: boolean, | 119 * isEnabled: boolean, |
| 120 * isUnified: boolean, | 120 * isUnified: boolean, |
| 121 * isMaximizeMode: (boolean|undefined), |
| 121 * dpiX: number, | 122 * dpiX: number, |
| 122 * dpiY: number, | 123 * dpiY: number, |
| 123 * rotation: number, | 124 * rotation: number, |
| 124 * bounds: !chrome.system.display.Bounds, | 125 * bounds: !chrome.system.display.Bounds, |
| 125 * overscan: !chrome.system.display.Insets, | 126 * overscan: !chrome.system.display.Insets, |
| 126 * workArea: !chrome.system.display.Bounds, | 127 * workArea: !chrome.system.display.Bounds, |
| 127 * modes: !Array<!chrome.system.display.DisplayMode>, | 128 * modes: !Array<!chrome.system.display.DisplayMode>, |
| 128 * hasTouchSupport: boolean | 129 * hasTouchSupport: boolean |
| 129 * }} | 130 * }} |
| 130 * @see https://developer.chrome.com/extensions/system.display#type-DisplayUnitI
nfo | 131 * @see https://developer.chrome.com/extensions/system.display#type-DisplayUnitI
nfo |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 * @see https://developer.chrome.com/extensions/system.display#method-clearTouch
Calibration | 296 * @see https://developer.chrome.com/extensions/system.display#method-clearTouch
Calibration |
| 296 */ | 297 */ |
| 297 chrome.system.display.clearTouchCalibration = function(id) {}; | 298 chrome.system.display.clearTouchCalibration = function(id) {}; |
| 298 | 299 |
| 299 /** | 300 /** |
| 300 * Fired when anything changes to the display configuration. | 301 * Fired when anything changes to the display configuration. |
| 301 * @type {!ChromeEvent} | 302 * @type {!ChromeEvent} |
| 302 * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh
anged | 303 * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh
anged |
| 303 */ | 304 */ |
| 304 chrome.system.display.onDisplayChanged; | 305 chrome.system.display.onDisplayChanged; |
| OLD | NEW |