Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: third_party/closure_compiler/interfaces/system_display_interface.js

Issue 2002773002: Add overscanCalibration methods to system_display.idl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix non-chromeos + tests Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 7
8 // This was modified to replace System.display with SystemDisplay. 8 // This was modified to replace System.display with SystemDisplay.
9 9
10 /** @fileoverview Interface for system.display that can be overriden. */ 10 /** @fileoverview Interface for system.display that can be overriden. */
(...skipping 29 matching lines...) Expand all
40 40
41 /** 41 /**
42 * Enables/disables the unified desktop feature. Note that this simply enables 42 * Enables/disables the unified desktop feature. Note that this simply enables
43 * the feature, but will not change the actual desktop mode. (That is, if the 43 * the feature, but will not change the actual desktop mode. (That is, if the
44 * desktop is in mirror mode, it will stay in mirror mode) NOTE: This is only 44 * desktop is in mirror mode, it will stay in mirror mode) NOTE: This is only
45 * available to Chrome OS Kiosk apps and Web UI. 45 * available to Chrome OS Kiosk apps and Web UI.
46 * @param {boolean} enabled True if unified desktop should be enabled. 46 * @param {boolean} enabled True if unified desktop should be enabled.
47 * @see https://developer.chrome.com/extensions/system.display#method-enableUn ifiedDesktop 47 * @see https://developer.chrome.com/extensions/system.display#method-enableUn ifiedDesktop
48 */ 48 */
49 enableUnifiedDesktop: assertNotReached, 49 enableUnifiedDesktop: assertNotReached,
50
51 /**
52 * Starts overscan calibration for a display. This will show an overlay on the
53 * screen indicating the current overscan insets.
54 * @param {string} id The display's unique identifier.
55 * @see https://developer.chrome.com/extensions/system.display#method-overscan CalibrationStart
56 */
57 overscanCalibrationStart: assertNotReached,
58
59 /**
60 * Adjusts the current overscan insets for a display. Typically this should
61 * etiher move the display along an axis (e.g. left+right have the same value)
62 * or scale it along an axis (e.g. top+bottom have opposite values). Each
63 * Adjust call is cumulative with previous calls since Start.
64 * @param {string} id The display's unique identifier.
65 * @param {!chrome.system.display.Insets} delta The amount to change the
66 * overscan insets.
67 * @see https://developer.chrome.com/extensions/system.display#method-overscan CalibrationAdjust
68 */
69 overscanCalibrationAdjust: assertNotReached,
70
71 /**
72 * Resets the overscan insets for a display to the last saved value (i.e
73 * before Start was called).
74 * @param {string} id The display's unique identifier.
75 * @see https://developer.chrome.com/extensions/system.display#method-overscan CalibrationReset
76 */
77 overscanCalibrationReset: assertNotReached,
78
79 /**
80 * Complete overscan adjustments for a display by saving the current values
81 * and hiding the overlay.
82 * @param {string} id The display's unique identifier.
83 * @see https://developer.chrome.com/extensions/system.display#method-overscan CalibrationComplete
84 */
85 overscanCalibrationComplete: assertNotReached,
50 }; 86 };
51 87
52 /** 88 /**
53 * Fired when anything changes to the display configuration. 89 * Fired when anything changes to the display configuration.
54 * @type {!ChromeEvent} 90 * @type {!ChromeEvent}
55 * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh anged 91 * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh anged
56 */ 92 */
57 SystemDisplay.prototype.onDisplayChanged; 93 SystemDisplay.prototype.onDisplayChanged;
OLDNEW
« no previous file with comments | « third_party/closure_compiler/externs/system_display.js ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698