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