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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 * dpiX: number, | 120 * dpiX: number, |
121 * dpiY: number, | 121 * dpiY: number, |
122 * rotation: number, | 122 * rotation: number, |
123 * bounds: !chrome.system.display.Bounds, | 123 * bounds: !chrome.system.display.Bounds, |
124 * overscan: !chrome.system.display.Insets, | 124 * overscan: !chrome.system.display.Insets, |
125 * workArea: !chrome.system.display.Bounds, | 125 * workArea: !chrome.system.display.Bounds, |
126 * modes: !Array<!chrome.system.display.DisplayMode> | 126 * modes: !Array<!chrome.system.display.DisplayMode>, |
| 127 * hasTouchSupport: boolean |
127 * }} | 128 * }} |
128 * @see https://developer.chrome.com/extensions/system.display#type-DisplayUnitI
nfo | 129 * @see https://developer.chrome.com/extensions/system.display#type-DisplayUnitI
nfo |
129 */ | 130 */ |
130 chrome.system.display.DisplayUnitInfo; | 131 chrome.system.display.DisplayUnitInfo; |
131 | 132 |
132 /** | 133 /** |
133 * @typedef {{ | 134 * @typedef {{ |
134 * mirroringSourceId: (string|undefined), | 135 * mirroringSourceId: (string|undefined), |
135 * isPrimary: (boolean|undefined), | 136 * isPrimary: (boolean|undefined), |
136 * overscan: (!chrome.system.display.Insets|undefined), | 137 * overscan: (!chrome.system.display.Insets|undefined), |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 * @see https://developer.chrome.com/extensions/system.display#method-touchCalib
rationReset | 267 * @see https://developer.chrome.com/extensions/system.display#method-touchCalib
rationReset |
267 */ | 268 */ |
268 chrome.system.display.touchCalibrationReset = function(id) {}; | 269 chrome.system.display.touchCalibrationReset = function(id) {}; |
269 | 270 |
270 /** | 271 /** |
271 * Fired when anything changes to the display configuration. | 272 * Fired when anything changes to the display configuration. |
272 * @type {!ChromeEvent} | 273 * @type {!ChromeEvent} |
273 * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh
anged | 274 * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh
anged |
274 */ | 275 */ |
275 chrome.system.display.onDisplayChanged; | 276 chrome.system.display.onDisplayChanged; |
OLD | NEW |