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

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

Issue 14297012: IndexedDB: Use [Default] in IDLs to reduce overloads in implementations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/indexeddb/IDBKeyRange.h ('k') | Source/modules/indexeddb/IDBObjectStore.h » ('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 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 14 matching lines...) Expand all
25 25
26 [ 26 [
27 ImplementationLacksVTable 27 ImplementationLacksVTable
28 ] interface IDBKeyRange { 28 ] interface IDBKeyRange {
29 [ImplementedAs=lowerValue,CallWith=ScriptExecutionContext] readonly attribut e any lower; 29 [ImplementedAs=lowerValue,CallWith=ScriptExecutionContext] readonly attribut e any lower;
30 [ImplementedAs=upperValue,CallWith=ScriptExecutionContext] readonly attribut e any upper; 30 [ImplementedAs=upperValue,CallWith=ScriptExecutionContext] readonly attribut e any upper;
31 readonly attribute boolean lowerOpen; 31 readonly attribute boolean lowerOpen;
32 readonly attribute boolean upperOpen; 32 readonly attribute boolean upperOpen;
33 33
34 [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange only(a ny value); 34 [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange only(a ny value);
35 [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange lowerB ound(any bound, optional boolean open); 35 [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange lowerB ound(any bound, [Default=Undefined] optional boolean open);
36 [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange upperB ound(any bound, optional boolean open); 36 [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange upperB ound(any bound, [Default=Undefined] optional boolean open);
37 [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange bound( any lower, any upper, optional boolean lowerOpen, optional boolean upperOpen); 37 [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange bound( any lower, any upper, [Default=Undefined] optional boolean lowerOpen, [Default=U ndefined] optional boolean upperOpen);
38 }; 38 };
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBKeyRange.h ('k') | Source/modules/indexeddb/IDBObjectStore.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698