| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Use the <code>system.display</code> API to query display metadata. | 5 // Use the <code>system.display</code> API to query display metadata. |
| 6 namespace system.display { | 6 namespace system.display { |
| 7 | 7 |
| 8 dictionary Bounds { | 8 dictionary Bounds { |
| 9 // The x-coordinate of the upper-left corner. | 9 // The x-coordinate of the upper-left corner. |
| 10 long left; | 10 long left; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 DOMString id, | 141 DOMString id, |
| 142 DisplayProperties info, | 142 DisplayProperties info, |
| 143 optional SetDisplayUnitInfoCallback callback); | 143 optional SetDisplayUnitInfoCallback callback); |
| 144 }; | 144 }; |
| 145 | 145 |
| 146 interface Events { | 146 interface Events { |
| 147 // Fired when anything changes to the display configuration. | 147 // Fired when anything changes to the display configuration. |
| 148 static void onDisplayChanged(); | 148 static void onDisplayChanged(); |
| 149 }; | 149 }; |
| 150 }; | 150 }; |
| OLD | NEW |