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

Unified Diff: chrome/common/extensions/api/system_info_display.idl

Issue 16687002: Add additional properties to display system info on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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
Index: chrome/common/extensions/api/system_info_display.idl
diff --git a/chrome/common/extensions/api/system_info_display.idl b/chrome/common/extensions/api/system_info_display.idl
index e6462371da48cb19560ccbbceccd4672e649cf3e..c0166e591678b7acdda25712148ca3addee8231e 100644
--- a/chrome/common/extensions/api/system_info_display.idl
+++ b/chrome/common/extensions/api/system_info_display.idl
@@ -20,6 +20,11 @@ namespace systemInfo.display {
DOMString id;
// The user-friendly name (e.g. "HP LCD monitor").
DOMString name;
+ // Identifier of the display that is being mirrored on the display unit.
+ // If mirroring is not in progress, set to an empty string.
+ // Currently exposed only on ChromeOS. Will be set to an empty string on
+ // other platforms.
+ DOMString mirroringSourceId;
// True if this is the primary display.
boolean isPrimary;
// True if this is an internal display.
@@ -30,9 +35,20 @@ namespace systemInfo.display {
double dpiX;
// The number of pixels per inch along the y-axis.
double dpiY;
- // The bounds of the display.
+ // The display's clockwise rotation in degrees relative to the vertical
+ // position.
+ // Currently exposed only on ChromeOS. Will be set to 0 on other platforms.
+ long rotation;
+ // The display's logical bounds. The logical coordinates are given relative
+ // to the primary display.
Bounds bounds;
- // The usable work area of the display.
+ // The display's bounds in the screen's coordinate system.
+ // Currently exposed only on ChromeOS. Will be set to empty bounds on
+ // other platforms.
+ Bounds visibleArea;
+ // The usable work area of the display within the display bounds. The work
+ // area excludes areas of the display reserved for OS, for example taskbar
+ // and launcher.
Bounds workArea;
};

Powered by Google App Engine
This is Rietveld 408576698