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

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

Issue 2656433004: - Plumbs through native touch calibration from MD settings to display manager via the system dis… (Closed)
Patch Set: Created 3 years, 11 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 97
98 /** 98 /**
99 * Starts touch calibration for a display. This will show an overlay on the 99 * Starts native touch calibration for a display. This will show an overlay on
100 * screen and initialize the UX for touch calibration. If touch calibration 100 * the screen and initialize the UX for touch calibration. If another native
101 * for display |id| is in progress this will reset calibration. 101 * touch calibration is already in progress this will throw an error.
102 * @param {string} id The display's unique identifier. 102 * @param {string} id The display's unique identifier.
103 * @see https://developer.chrome.com/extensions/system.display#method-touchCal ibrationStart 103 * @see https://developer.chrome.com/extensions/system.display#method-showNati veTouchCalibration
104 */ 104 */
105 touchCalibrationStart: assertNotReached, 105 showNativeTouchCalibration: assertNotReached,
106
107 /**
108 * Starts custom touch calibration for a display. This should be called when
109 * using a custom UX for collecting calibration data. If another touch
110 * calibration is already in progress this will throw an error.
111 * @param {string} id The display's unique identifier.
112 * @see https://developer.chrome.com/extensions/system.display#method-startCus tomTouchCalibration
113 */
114 startCustomTouchCalibration: assertNotReached,
106 115
107 /** 116 /**
108 * Sets the touch calibration pairs for a display. These |pairs| would be used 117 * 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 118 * to calibrate the touch screen for display with |id| called in
110 * display |id| is in progress this will do nothing. 119 * startCustomTouchCalibration(). Always call |startCustomTouchCalibration|
111 * @param {string} id The display's unique identifier. 120 * before calling this method. If another touch calibration is already in
121 * progress this will throw an error.
112 * @param {!chrome.system.display.TouchCalibrationPairQuad} pairs The pairs of 122 * @param {!chrome.system.display.TouchCalibrationPairQuad} pairs The pairs of
113 * point used to calibrate the display. 123 * point used to calibrate the display.
114 * @param {!chrome.system.display.Bounds} bounds Bounds of the display when 124 * @param {!chrome.system.display.Bounds} bounds Bounds of the display when
115 * the touch calibration was performed. |bounds.left| and |bounds.top| 125 * the touch calibration was performed. |bounds.left| and |bounds.top|
116 * values are no-op. 126 * values are ignored.
117 * @see https://developer.chrome.com/extensions/system.display#method-touchCal ibrationSet 127 * @see https://developer.chrome.com/extensions/system.display#method-complete CustomTouchCalibration
118 */ 128 */
119 touchCalibrationSet: assertNotReached, 129 completeCustomTouchCalibration: assertNotReached,
120 130
121 /** 131 /**
122 * Resets the touch calibration for the display and removes the saved 132 * Resets the touch calibration for the display and removes the saved
123 * calibration data. 133 * calibration data.
124 * @param {string} id The display's unique identifier. 134 * @param {string} id The display's unique identifier.
125 * @see https://developer.chrome.com/extensions/system.display#method-touchCal ibrationReset 135 * @see https://developer.chrome.com/extensions/system.display#method-clearTou chCalibration
126 */ 136 */
127 touchCalibrationReset: assertNotReached, 137 clearTouchCalibration: assertNotReached,
128 }; 138 };
129 139
130 /** 140 /**
131 * Fired when anything changes to the display configuration. 141 * Fired when anything changes to the display configuration.
132 * @type {!ChromeEvent} 142 * @type {!ChromeEvent}
133 * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh anged 143 * @see https://developer.chrome.com/extensions/system.display#event-onDisplayCh anged
134 */ 144 */
135 SystemDisplay.prototype.onDisplayChanged; 145 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