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

Unified Diff: Source/bindings/tests/idls/TestDictionary.idl

Issue 409373002: IDL: Binding code generation for dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/bindings/tests/idls/TestDictionary.idl
diff --git a/Source/core/html/canvas/EXTShaderTextureLOD.idl b/Source/bindings/tests/idls/TestDictionary.idl
similarity index 62%
copy from Source/core/html/canvas/EXTShaderTextureLOD.idl
copy to Source/bindings/tests/idls/TestDictionary.idl
index 975005a6a857790d975d747bf757a2d8de57f90a..6e6921dbc535513cc5e9cedd328a03d34bd17594 100644
--- a/Source/core/html/canvas/EXTShaderTextureLOD.idl
+++ b/Source/bindings/tests/idls/TestDictionary.idl
@@ -1,9 +1,9 @@
// Copyright 2014 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.
-
[
- NoInterfaceObject,
- WillBeGarbageCollected,
-] interface EXTShaderTextureLOD {
+ GarbageCollected,
+] dictionary TestDictionary {
+ boolean booleanMember;
+ long longMember = 1;
haraken 2014/07/23 15:49:01 Would you add a bit more test cases? Although you
bashi 2014/07/25 01:59:02 Added string, interface, nullable cases. I didn't
};

Powered by Google App Engine
This is Rietveld 408576698