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

Side by Side Diff: third_party/WebCore/bindings/scripts/test/TestObj.idl

Issue 10769002: Roll IDL to multivm@683 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix notifications path in fremontcut. Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/WebCore/README ('k') | third_party/WebCore/css/CSSRule.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2010 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary formstrArg, with or without 5 * Redistribution and use in source and binary formstrArg, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 [Conditional=Condition1] const unsigned short CONDITIONAL_CONST = 0; 157 [Conditional=Condition1] const unsigned short CONDITIONAL_CONST = 0;
158 158
159 #if defined(TESTING_V8) || defined(TESTING_JS) 159 #if defined(TESTING_V8) || defined(TESTING_JS)
160 readonly attribute [CachedAttribute] any cachedAttribute1; 160 readonly attribute [CachedAttribute] any cachedAttribute1;
161 readonly attribute [CachedAttribute] any cachedAttribute2; 161 readonly attribute [CachedAttribute] any cachedAttribute2;
162 #endif 162 #endif
163 163
164 #if defined(TESTING_V8) || defined(TESTING_JS) 164 #if defined(TESTING_V8) || defined(TESTING_JS)
165 // Overloads 165 // Overloads
166 void overloadedMethod(in TestObj objArg, in DOMString strArg); 166 void overloadedMethod(in TestObj? objArg, in DOMString strArg);
167 void overloadedMethod(in TestObj objArg, in [Optional] long intArg); 167 void overloadedMethod(in TestObj? objArg, in [Optional] long intArg);
168 void overloadedMethod(in DOMString strArg); 168 void overloadedMethod(in DOMString strArg);
169 void overloadedMethod(in long intArg); 169 void overloadedMethod(in long intArg);
170 void overloadedMethod(in [Callback] TestCallback callback); 170 void overloadedMethod(in [Callback] TestCallback callback);
171 void overloadedMethod(in DOMStringList listArg); 171 void overloadedMethod(in DOMStringList? listArg);
172 void overloadedMethod(in DOMString[]? arrayArg);
173 void overloadedMethod(in TestObj objArg);
172 void overloadedMethod(in DOMString[] arrayArg); 174 void overloadedMethod(in DOMString[] arrayArg);
173 #endif 175 #endif
174 176
175 // Class methods within JavaScript (like what's used for IDBKeyRange). 177 // Class methods within JavaScript (like what's used for IDBKeyRange).
176 static void classMethod(); 178 static void classMethod();
177 static long classMethodWithOptional(in [Optional] long arg); 179 static long classMethodWithOptional(in [Optional] long arg);
178 [Custom] static void classMethod2(in long arg); 180 [Custom] static void classMethod2(in long arg);
179 181
180 // Static method with conditional on overloaded methods 182 // Static method with conditional on overloaded methods
181 [Conditional=Condition1] static void overloadedMethod1(in long arg); 183 [Conditional=Condition1] static void overloadedMethod1(in long arg);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 const unsigned short CONST_VALUE_8 = 8; 242 const unsigned short CONST_VALUE_8 = 8;
241 const short CONST_VALUE_9 = -1; 243 const short CONST_VALUE_9 = -1;
242 const DOMString CONST_VALUE_10 = "my constant string"; 244 const DOMString CONST_VALUE_10 = "my constant string";
243 const unsigned short CONST_VALUE_11 = 0xffffffff; 245 const unsigned short CONST_VALUE_11 = 0xffffffff;
244 const unsigned short CONST_VALUE_12 = 0x01; 246 const unsigned short CONST_VALUE_12 = 0x01;
245 const unsigned short CONST_VALUE_13 = 0X20; 247 const unsigned short CONST_VALUE_13 = 0X20;
246 const unsigned short CONST_VALUE_14 = 0x1abc; 248 const unsigned short CONST_VALUE_14 = 0x1abc;
247 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15; 249 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15;
248 }; 250 };
249 } 251 }
OLDNEW
« no previous file with comments | « third_party/WebCore/README ('k') | third_party/WebCore/css/CSSRule.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698