Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 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 // Tests parsing the Properties interface. | |
| 6 namespace idl_properties { | |
| 7 interface Properties { | |
| 8 // Integer property. | |
| 9 [value=42] static long first(); | |
| 10 | |
| 11 // Double property. | |
| 12 [value=42.0] static double second(); | |
| 13 | |
| 14 // String property. | |
| 15 [value="hello world"] static DOMString third(); | |
| 16 | |
| 17 // Unvalued property. | |
| 18 static long fourth(); | |
| 19 }; | |
| 20 }; | |
| OLD | NEW |