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

Side by Side Diff: chrome/common/extensions/api/experimental_system_info_display.idl

Issue 15907021: Delete experimental API definition file for systemInfo.display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/public/apps/experimental_systemInfo_display.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // File-level comment to appease parser. Eventually this will not be necessary.
6 namespace experimental.systemInfo.display {
7
8 dictionary DisplayUnitInfo {
9 // The unique identifier of the display device.
10 DOMString id;
11 // The ordinal index for each display device.
12 long index;
13 // True if the display is the primary one.
14 boolean isPrimary;
15 // The y-coordinate of the upper-left corner of the work area on the
16 // display's screen.
17 long availTop;
18 // The x-coordinate of the upper-left corner of the work area on the
19 // display's screen.
20 long availLeft;
21 // The height of the work area on the display's screen in pixels.
22 long availHeight;
23 // The width of the work area on the display's screen in pixels.
24 long availWidth;
25 // The color depth of the display's screen.
26 long colorDepth;
27 // The pixel depth of the display's screen.
28 long pixelDepth;
29 // The height of the display's screen in pixels.
30 long height;
31 // The width of the display's screen in pixels.
32 long width;
33 // The absolute offset of the upper-left corner of the display's screen in
34 // the virtual-screen coordinate.
35 long absoluteTopOffset;
36 // The absolute offset of the upper-left corner of the display's screen in
37 // the virtual-screen coodinate.
38 long absoluteLeftOffset;
39 // The number of pixel per logic inch along the display's screen width.
40 long dpiX;
41 // The number of pixel per logic inch along the display's screen height.
42 long dpiY;
43 };
44
45 callback DisplayInfoCallback = void (DisplayUnitInfo[] info);
46
47 interface Functions {
48 // Get all display information on the system. The argument passed to the
49 // callback is an array of DisplayUnitInfo objects.
50 static void get(DisplayInfoCallback callback);
51 };
52 };
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/public/apps/experimental_systemInfo_display.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698