| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // https://heycam.github.io/webidl/#common |
| |
| typedef (ArrayBuffer or ArrayBufferView) BufferSource; |
| typedef unsigned long long DOMTimeStamp; |
| |
| |
| // https://heycam.github.io/webidl/#Function |
| |
| callback Function = any (any... arguments); |
| |
| |
| // Blink-specific forEach iterator's callback |
| // https://heycam.github.io/webidl/#es-forEach |
| |
| callback ForEachIteratorCallback = void (any value, any key, any obj); |
| |
| |
| // Blink-specific constructor type used in many places. |
| |
| callback NoArgumentConstructor = any (); |
| |
| |
| // typedefs used in multiple files. |
| |
| typedef object JSON; |