OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // File-level comment to appease parser. Eventually this will not be necessary. | 5 // File-level comment to appease parser. Eventually this will not be necessary. |
6 namespace experimental.systemInfo.display { | 6 namespace experimental.systemInfo.display { |
7 | 7 |
8 dictionary DisplayUnitInfo { | 8 dictionary DisplayUnitInfo { |
9 // The unique identifier of the display device. | 9 // The unique identifier of the display device. |
10 DOMString id; | 10 DOMString id; |
(...skipping 29 matching lines...) Expand all Loading... | |
40 long dpiX; | 40 long dpiX; |
41 // The number of pixel per logic inch along the display's screen height. | 41 // The number of pixel per logic inch along the display's screen height. |
42 long dpiY; | 42 long dpiY; |
43 }; | 43 }; |
44 | 44 |
45 callback DisplayInfoCallback = void (DisplayUnitInfo[] info); | 45 callback DisplayInfoCallback = void (DisplayUnitInfo[] info); |
46 | 46 |
47 interface Functions { | 47 interface Functions { |
48 // Get all display information on the system. The argument passed to the | 48 // Get all display information on the system. The argument passed to the |
49 // callback is an array of DisplayUnitInfo objects. | 49 // callback is an array of DisplayUnitInfo objects. |
50 static void get(DisplayInfoCallback callback); | 50 [nocompile] static void get(DisplayInfoCallback callback); |
not at google - send to devlin
2013/05/24 19:09:18
interesting, out of curiosity what makes this nece
cduvall
2013/05/30 00:50:51
This was originally needed because of the non-expe
| |
51 }; | 51 }; |
52 }; | 52 }; |
OLD | NEW |