SharedWorkerOpArgs.ipdlh (986B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 include DOMTypes; 6 7 namespace mozilla { 8 namespace dom { 9 10 struct SharedWorkerSuspendOpArgs 11 {}; 12 13 struct SharedWorkerResumeOpArgs 14 {}; 15 16 struct SharedWorkerFreezeOpArgs 17 {}; 18 19 struct SharedWorkerThawOpArgs 20 {}; 21 22 struct SharedWorkerTerminateOpArgs 23 {}; 24 25 struct SharedWorkerPortIdentifierOpArgs 26 { 27 MessagePortIdentifier portIdentifier; 28 }; 29 30 struct SharedWorkerAddWindowIDOpArgs 31 { 32 uint64_t windowID; 33 }; 34 35 struct SharedWorkerRemoveWindowIDOpArgs 36 { 37 uint64_t windowID; 38 }; 39 40 union SharedWorkerOpArgs { 41 SharedWorkerSuspendOpArgs; 42 SharedWorkerResumeOpArgs; 43 SharedWorkerFreezeOpArgs; 44 SharedWorkerThawOpArgs; 45 SharedWorkerTerminateOpArgs; 46 SharedWorkerPortIdentifierOpArgs; 47 SharedWorkerAddWindowIDOpArgs; 48 SharedWorkerRemoveWindowIDOpArgs; 49 }; 50 51 } // namespace dom 52 } // namespace mozilla