| // Copyright 2016 The Chromium Authors | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| // Movable Objects. | |
| [use_movable_types=true] namespace objectsMovable { | |
| enum Foo { | |
| BAR, | |
| BAZ | |
| }; | |
| dictionary MovablePod { | |
| Foo foo; | |
| DOMString str; | |
| long num; | |
| boolean b; | |
| }; | |
| dictionary MovableParent { | |
| MovablePod[] pods; | |
| DOMString[] strs; | |
| [instanceOf=Blob]object blob; | |
| (DOMString or MovablePod) choice; | |
| }; | |
| }; |