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

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

Issue 2538623002: Adds touch calibration methods to system_display.idl API (Closed)
Patch Set: Adds touch calibration methods to system.idl API Created 4 years 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 */ 87 */
88 overscanCalibrationReset: assertNotReached, 88 overscanCalibrationReset: assertNotReached,
89 89
90 /** 90 /**
91 * Complete overscan adjustments for a display by saving the current values 91 * Complete overscan adjustments for a display by saving the current values
92 * and hiding the overlay. 92 * and hiding the overlay.
93 * @param {string} id The display's unique identifier. 93 * @param {string} id The display's unique identifier.
94 * @see https://developer.chrome.com/extensions/system.display#method-overscan CalibrationComplete 94 * @see https://developer.chrome.com/extensions/system.display#method-overscan CalibrationComplete
95 */ 95 */
96 overscanCalibrationComplete: assertNotReached, 96 overscanCalibrationComplete: assertNotReached,
97
98 /**
99 * Starts touch calibration for a display. This will show an overlay on the
100 * screen and initialize the UX for touch calibration. If touch calibration
101 * for display |id| is in progress this will reset calibration.
102 * @param {string} id The display's unique identifier.
103 * @see https://developer.chrome.com/extensions/system.display#method-touchCal ibrationStart
104 */
105 touchCalibrationStart: assertNotReached,
106
107 /**
108 * Sets the touch calibration pairs for a display. These |pairs| would be used
109 * to calibrate the touch screen for display |id|. If touch calibration for
110 * display |id| is in progress this will do nothing.
111 * @param {string} id The display's unique identifier.
112 * @param {!chrome.system.display.TouchCalibrationPairQuad} pairs The pairs of
113 * point used to calibrate the display.
114 * @param {!chrome.system.display.Bounds} bounds Bounds of the display when
115 * the touch calibration was performed. |bounds.left| and |bounds.top|
116 * values are no-op.
117 * @see https://developer.chrome.com/extensions/system.display#method-touchCal ibrationSet
118 */
119 touchCalibrationSet: assertNotReached,
120
121 /**
122 * Resets the touch calibration for the display and removes the saved
123 * calibration data.
124 * @param {string} id The display's unique identifier.
125 * @see https://developer.chrome.com/extensions/system.display#method-touchCal ibrationReset
126 */
127 touchCalibrationReset: assertNotReached,
97 }; 128 };
98 129
99 /** 130 /**
100 * Fired when anything changes to the display configuration. 131 * Fired when anything changes to the display configuration.
101 * @type {!ChromeEvent} 132 * @type {!ChromeEvent}
102 * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh anged 133 * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh anged
103 */ 134 */
104 SystemDisplay.prototype.onDisplayChanged; 135 SystemDisplay.prototype.onDisplayChanged;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698