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

Unified Diff: third_party/closure_compiler/externs/system_display.js

Issue 2097763004: MD Settings: Display: Add snapping and collisions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_547080_display_settings8a_drag
Patch Set: Rebase + More Feedback 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 | « chrome/browser/resources/settings/settings_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/closure_compiler/externs/system_display.js
diff --git a/third_party/closure_compiler/externs/system_display.js b/third_party/closure_compiler/externs/system_display.js
index 469dfc974c00ec2cca9f2bfa1b30b424ba5f130b..8242121162c793100cc9549de95599a63f7d7aa3 100644
--- a/third_party/closure_compiler/externs/system_display.js
+++ b/third_party/closure_compiler/externs/system_display.js
@@ -149,11 +149,16 @@ chrome.system.display.setDisplayProperties = function(id, info, callback) {};
* 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
+ * event will be triggered. NOTE: This is only available to Chrome OS Kiosk apps
+ * and Web UI.
+ * @param {!Array<!chrome.system.display.DisplayLayout>} layouts The layout
+ * information, required for all displays except the primary display.
+ * @param {function():void=} callback Empty function called when the function
+ * finishes. To find out whether the function succeeded,
+ * $(ref:runtime.lastError) should be queried.
* @see https://developer.chrome.com/extensions/system.display#method-setDisplayLayout
*/
-chrome.system.display.setDisplayLayout = function(layouts) {};
+chrome.system.display.setDisplayLayout = function(layouts, callback) {};
/**
* Enables/disables the unified desktop feature. Note that this simply enables
« no previous file with comments | « chrome/browser/resources/settings/settings_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698