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

Side by Side Diff: third_party/WebKit/Source/core/testing/RecordTest.idl

Issue 2732093003: bindings: Add support for the record<K,V> WebIDL type. (Closed)
Patch Set: s/isolate->GetCurrentContext()/context/ Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/core/testing/RecordTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 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 typedef record<DOMString, long> RecordTypedef;
6
7 interface RecordTest {
8 void setStringLongRecord(RecordTypedef arg);
9 RecordTypedef getStringLongRecord();
10
11 void setNullableStringLongRecord(RecordTypedef? arg);
12 RecordTypedef? getNullableStringLongRecord();
13
14 void setByteStringByteStringRecord(record<ByteString, ByteString> arg);
15
16 void setStringElementRecord(record<DOMString, Element> arg);
17 record<DOMString, Element> getStringElementRecord();
18
19 void setUSVStringUSVStringBooleanRecordRecord(record<USVString, record<USVSt ring, boolean>> arg);
20 record<USVString, record<USVString, boolean>> getUSVStringUSVStringBooleanRe cordRecord();
21
22 record<DOMString, sequence<ByteString>> returnStringByteStringSequenceRecord ();
23
24 boolean unionReceivedARecord((boolean or record<ByteString, ByteString>) arg );
25
26 // Test the bindings generator code: unions and dictionaries must trace a
27 // record when it's represented as a HeapVector.
28 void setFloatOrStringElementRecord((float or record<DOMString, Element>) arg );
29 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/RecordTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698