Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: third_party/WebKit/Source/core/streams/UnderlyingSourceBase.idl

Issue 1873323002: Have bindings layer assume and insist that all interface types are GCed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // This is not a spec interface. Instead, it is used to generate bindings 5 // This is not a spec interface. Instead, it is used to generate bindings
6 // so that Blink code which wishes to create a stream can derive from 6 // so that Blink code which wishes to create a stream can derive from
7 // UnderlyingSourceBase, and a JavaScript object can then be generated 7 // UnderlyingSourceBase, and a JavaScript object can then be generated
8 // automatically for use in initializing a ReadableStream. 8 // automatically for use in initializing a ReadableStream.
9 9
10 [ 10 [
11 ActiveScriptWrappable, 11 ActiveScriptWrappable,
12 DependentLifetime, 12 DependentLifetime,
13 GarbageCollected,
14 NoInterfaceObject, 13 NoInterfaceObject,
15 ] 14 ]
16 interface UnderlyingSourceBase { 15 interface UnderlyingSourceBase {
17 [CallWith=ScriptState, ImplementedAs=startWrapper] Promise<void> start(any s tream); 16 [CallWith=ScriptState, ImplementedAs=startWrapper] Promise<void> start(any s tream);
18 [CallWith=ScriptState] Promise<void> pull(); 17 [CallWith=ScriptState] Promise<void> pull();
19 [CallWith=ScriptState, ImplementedAs=cancelWrapper] Promise<void> cancel([De fault=Undefined] optional any reason); 18 [CallWith=ScriptState, ImplementedAs=cancelWrapper] Promise<void> cancel([De fault=Undefined] optional any reason);
20 }; 19 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/streams/Stream.idl ('k') | third_party/WebKit/Source/core/svg/SVGAngle.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698