OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 [ | 5 [ |
6 ActiveDOMObject, | 6 ActiveDOMObject, |
7 Constructor(DOMString scriptUrl), | 7 Constructor(DOMString scriptUrl), |
8 ConstructorCallWith=ExecutionContext, | 8 ConstructorCallWith=ExecutionContext, |
9 RaisesException=Constructor, | 9 RaisesException=Constructor, |
10 RuntimeEnabled=CompositorWorker, | 10 RuntimeEnabled=CompositorWorker, |
11 WillBeGarbageCollected, | 11 WillBeGarbageCollected, |
12 ] interface CompositorWorker : EventTarget { | 12 ] interface CompositorWorker : EventTarget { |
13 attribute EventHandler onmessage; | 13 attribute EventHandler onmessage; |
14 [Custom, RaisesException] void postMessage(SerializedScriptValue message, op
tional sequence<Transferable> transfer); | 14 [PostMessage, RaisesException] void postMessage(SerializedScriptValue messag
e, optional sequence<Transferable> transfer); |
15 void terminate(); | 15 void terminate(); |
16 }; | 16 }; |
17 | 17 |
18 CompositorWorker implements AbstractWorker; | 18 CompositorWorker implements AbstractWorker; |
OLD | NEW |