| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 119  * Enables/disables the unified desktop feature. Note that this simply enables | 119  * Enables/disables the unified desktop feature. Note that this simply enables | 
| 120  * the feature, but will not change the actual desktop mode. (That is, if the | 120  * the feature, but will not change the actual desktop mode. (That is, if the | 
| 121  * desktop is in mirror mode, it will stay in mirror mode) NOTE: This is only | 121  * desktop is in mirror mode, it will stay in mirror mode) NOTE: This is only | 
| 122  * available to Chrome OS Kiosk apps and Web UI. | 122  * available to Chrome OS Kiosk apps and Web UI. | 
| 123  * @param {boolean} enabled True if unified desktop should be enabled. | 123  * @param {boolean} enabled True if unified desktop should be enabled. | 
| 124  * @see https://developer.chrome.com/extensions/system.display#method-enableUnif
     iedDesktop | 124  * @see https://developer.chrome.com/extensions/system.display#method-enableUnif
     iedDesktop | 
| 125  */ | 125  */ | 
| 126 chrome.system.display.enableUnifiedDesktop = function(enabled) {}; | 126 chrome.system.display.enableUnifiedDesktop = function(enabled) {}; | 
| 127 | 127 | 
| 128 /** | 128 /** | 
|  | 129  * Starts overscan calibration for a display. This will show an overlay on the | 
|  | 130  * screen indicating the current overscan insets. | 
|  | 131  * @param {string} id The display's unique identifier. | 
|  | 132  * @see https://developer.chrome.com/extensions/system.display#method-overscanCa
     librationStart | 
|  | 133  */ | 
|  | 134 chrome.system.display.overscanCalibrationStart = function(id) {}; | 
|  | 135 | 
|  | 136 /** | 
|  | 137  * Adjusts the current overscan insets for a display. Typically this should | 
|  | 138  * etiher move the display along an axis (e.g. left+right have the same value) | 
|  | 139  * or scale it along an axis (e.g. top+bottom have opposite values). Each Adjust | 
|  | 140  * call is cumulative with previous calls since Start. | 
|  | 141  * @param {string} id The display's unique identifier. | 
|  | 142  * @param {!chrome.system.display.Insets} delta The amount to change the | 
|  | 143  *     overscan insets. | 
|  | 144  * @see https://developer.chrome.com/extensions/system.display#method-overscanCa
     librationAdjust | 
|  | 145  */ | 
|  | 146 chrome.system.display.overscanCalibrationAdjust = function(id, delta) {}; | 
|  | 147 | 
|  | 148 /** | 
|  | 149  * Resets the overscan insets for a display to the last saved value (i.e before | 
|  | 150  * Start was called). | 
|  | 151  * @param {string} id The display's unique identifier. | 
|  | 152  * @see https://developer.chrome.com/extensions/system.display#method-overscanCa
     librationReset | 
|  | 153  */ | 
|  | 154 chrome.system.display.overscanCalibrationReset = function(id) {}; | 
|  | 155 | 
|  | 156 /** | 
|  | 157  * Complete overscan adjustments for a display  by saving the current values and | 
|  | 158  * hiding the overlay. | 
|  | 159  * @param {string} id The display's unique identifier. | 
|  | 160  * @see https://developer.chrome.com/extensions/system.display#method-overscanCa
     librationComplete | 
|  | 161  */ | 
|  | 162 chrome.system.display.overscanCalibrationComplete = function(id) {}; | 
|  | 163 | 
|  | 164 /** | 
| 129  * Fired when anything changes to the display configuration. | 165  * Fired when anything changes to the display configuration. | 
| 130  * @type {!ChromeEvent} | 166  * @type {!ChromeEvent} | 
| 131  * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh
     anged | 167  * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh
     anged | 
| 132  */ | 168  */ | 
| 133 chrome.system.display.onDisplayChanged; | 169 chrome.system.display.onDisplayChanged; | 
| OLD | NEW | 
|---|