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

Unified Diff: third_party/closure_compiler/interfaces/system_display_interface.js

Issue 2072633002: Add Get/SetDisplayLayout to chrome.system.display extension API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win Created 4 years, 6 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 402fe9c53d71313559e5a550f0b4967ffb0dc4f3..bc0947d11979a04edb3bd26a956c0f5438861aeb 100644
--- a/third_party/closure_compiler/interfaces/system_display_interface.js
+++ b/third_party/closure_compiler/interfaces/system_display_interface.js
@@ -39,6 +39,16 @@ SystemDisplay.prototype = {
setDisplayProperties: assertNotReached,
/**
+ * Set the layout for all displays. Any display not included will use the
+ * default layout. If a layout would overlap or be otherwise invalid it will
+ * be adjusted to a valid layout. After layout is resolved, an
+ * onDisplayChanged event will be triggered.
+ * @param {!Array<!chrome.system.display.DisplayLayout>} layouts
+ * @see https://developer.chrome.com/extensions/system.display#method-setDisplayLayout
+ */
+ setDisplayLayout: assertNotReached,
+
+ /**
* Enables/disables the unified desktop feature. Note that this simply enables
* the feature, but will not change the actual desktop mode. (That is, if the
* desktop is in mirror mode, it will stay in mirror mode) NOTE: This is only
@@ -50,7 +60,8 @@ SystemDisplay.prototype = {
/**
* Starts overscan calibration for a display. This will show an overlay on the
- * screen indicating the current overscan insets.
+ * screen indicating the current overscan insets. If overscan calibration for
+ * display |id| is in progress this will reset calibration.
* @param {string} id The display's unique identifier.
* @see https://developer.chrome.com/extensions/system.display#method-overscanCalibrationStart
*/
« 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