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 DependentLifetime, | 6 DependentLifetime, |
7 Constructor(DOMString scriptUrl), | 7 Constructor(DOMString scriptUrl), |
8 ConstructorCallWith=ExecutionContext, | 8 ConstructorCallWith=ExecutionContext, |
9 GarbageCollected, | |
10 RaisesException=Constructor, | 9 RaisesException=Constructor, |
11 RuntimeEnabled=CompositorWorker, | 10 RuntimeEnabled=CompositorWorker, |
12 ] interface CompositorWorker : EventTarget { | 11 ] interface CompositorWorker : EventTarget { |
13 attribute EventHandler onmessage; | 12 attribute EventHandler onmessage; |
14 [PostMessage, RaisesException] void postMessage(SerializedScriptValue messag
e, optional sequence<Transferable> transfer); | 13 [PostMessage, RaisesException] void postMessage(SerializedScriptValue messag
e, optional sequence<Transferable> transfer); |
15 void terminate(); | 14 void terminate(); |
16 }; | 15 }; |
17 | 16 |
18 CompositorWorker implements AbstractWorker; | 17 CompositorWorker implements AbstractWorker; |
OLD | NEW |