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

Side by Side Diff: Source/modules/indexeddb/IDBDatabase.idl

Issue 312683005: IDL: Support optional argument default value syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address nits Created 6 years, 6 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 | « Source/modules/encryptedmedia/MediaKeys.idl ('k') | Source/modules/indexeddb/IDBIndex.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, 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 18 matching lines...) Expand all
29 [ 29 [
30 ActiveDOMObject, 30 ActiveDOMObject,
31 GarbageCollected, 31 GarbageCollected,
32 ] interface IDBDatabase : EventTarget { 32 ] interface IDBDatabase : EventTarget {
33 readonly attribute DOMString name; 33 readonly attribute DOMString name;
34 [CallWith=ScriptState] readonly attribute any version; 34 [CallWith=ScriptState] readonly attribute any version;
35 readonly attribute DOMStringList objectStoreNames; 35 readonly attribute DOMStringList objectStoreNames;
36 [RaisesException] IDBObjectStore createObjectStore(DOMString name, optional Dictionary options); 36 [RaisesException] IDBObjectStore createObjectStore(DOMString name, optional Dictionary options);
37 [RaisesException] void deleteObjectStore(DOMString name); 37 [RaisesException] void deleteObjectStore(DOMString name);
38 // FIXME: should be union type http://crbug.com/240176 38 // FIXME: should be union type http://crbug.com/240176
39 [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMS tring storeName, [Default=NullString] optional DOMString mode); 39 [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMS tring storeName, optional DOMString mode = null);
40 [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(sequ ence<DOMString> storeNames, [Default=NullString] optional DOMString mode); 40 [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(sequ ence<DOMString> storeNames, optional DOMString mode = null);
41 [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMS tringList storeNames, [Default=NullString] optional DOMString mode); 41 [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMS tringList storeNames, optional DOMString mode = null);
42 void close(); 42 void close();
43 attribute EventHandler onabort; 43 attribute EventHandler onabort;
44 attribute EventHandler onclose; 44 attribute EventHandler onclose;
45 attribute EventHandler onerror; 45 attribute EventHandler onerror;
46 attribute EventHandler onversionchange; 46 attribute EventHandler onversionchange;
47 }; 47 };
OLDNEW
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeys.idl ('k') | Source/modules/indexeddb/IDBIndex.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698