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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/closure_compiler/interfaces/system_display_interface.js
diff --git a/third_party/closure_compiler/interfaces/system_display_interface.js b/third_party/closure_compiler/interfaces/system_display_interface.js
index 23c96156f3b0dcc8208aba2aebadb4f808c3a32b..402fe9c53d71313559e5a550f0b4967ffb0dc4f3 100644
--- a/third_party/closure_compiler/interfaces/system_display_interface.js
+++ b/third_party/closure_compiler/interfaces/system_display_interface.js
@@ -47,6 +47,42 @@ SystemDisplay.prototype = {
* @see https://developer.chrome.com/extensions/system.display#method-enableUnifiedDesktop
*/
enableUnifiedDesktop: assertNotReached,
+
+ /**
+ * Starts overscan calibration for a display. This will show an overlay on the
+ * screen indicating the current overscan insets.
+ * @param {string} id The display's unique identifier.
+ * @see https://developer.chrome.com/extensions/system.display#method-overscanCalibrationStart
+ */
+ overscanCalibrationStart: assertNotReached,
+
+ /**
+ * Adjusts the current overscan insets for a display. Typically this should
+ * etiher move the display along an axis (e.g. left+right have the same value)
+ * or scale it along an axis (e.g. top+bottom have opposite values). Each
+ * Adjust call is cumulative with previous calls since Start.
+ * @param {string} id The display's unique identifier.
+ * @param {!chrome.system.display.Insets} delta The amount to change the
+ * overscan insets.
+ * @see https://developer.chrome.com/extensions/system.display#method-overscanCalibrationAdjust
+ */
+ overscanCalibrationAdjust: assertNotReached,
+
+ /**
+ * Resets the overscan insets for a display to the last saved value (i.e
+ * before Start was called).
+ * @param {string} id The display's unique identifier.
+ * @see https://developer.chrome.com/extensions/system.display#method-overscanCalibrationReset
+ */
+ overscanCalibrationReset: assertNotReached,
+
+ /**
+ * Complete overscan adjustments for a display by saving the current values
+ * and hiding the overlay.
+ * @param {string} id The display's unique identifier.
+ * @see https://developer.chrome.com/extensions/system.display#method-overscanCalibrationComplete
+ */
+ overscanCalibrationComplete: assertNotReached,
};
/**
« 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