Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 15 matching lines...) Expand all Loading... | |
| 26 [ | 26 [ |
| 27 Conditional=INDEXED_DATABASE, | 27 Conditional=INDEXED_DATABASE, |
| 28 ] interface IDBCursor { | 28 ] interface IDBCursor { |
| 29 // FIXME: Eventually remove legacy enum constants, see https://bugs.webkit.o rg/show_bug.cgi?id=85315 | 29 // FIXME: Eventually remove legacy enum constants, see https://bugs.webkit.o rg/show_bug.cgi?id=85315 |
| 30 const unsigned short NEXT = 0; | 30 const unsigned short NEXT = 0; |
| 31 const unsigned short NEXT_NO_DUPLICATE = 1; | 31 const unsigned short NEXT_NO_DUPLICATE = 1; |
| 32 const unsigned short PREV = 2; | 32 const unsigned short PREV = 2; |
| 33 const unsigned short PREV_NO_DUPLICATE = 3; | 33 const unsigned short PREV_NO_DUPLICATE = 3; |
| 34 | 34 |
| 35 readonly attribute DOMString direction; | 35 readonly attribute DOMString direction; |
| 36 readonly attribute IDBKey key; | 36 readonly attribute any key; |
|
Emily Fortuna
2012/11/01 16:32:26
This is probably why the generated code changed th
| |
| 37 readonly attribute IDBKey primaryKey; | 37 readonly attribute any primaryKey; |
| 38 readonly attribute IDBAny source; | 38 readonly attribute IDBAny source; |
| 39 | 39 |
| 40 [CallWith=ScriptExecutionContext] IDBRequest update(in any value) | 40 [CallWith=ScriptExecutionContext] IDBRequest update(in any value) |
| 41 raises (IDBDatabaseException); | 41 raises (IDBDatabaseException); |
| 42 // FIXME: Make this [EnforceRange] unsigned long once webkit.org/b/96798 lan ds. | 42 // FIXME: Make this [EnforceRange] unsigned long once webkit.org/b/96798 lan ds. |
| 43 void advance(in long count) | 43 void advance(in long long count) |
| 44 raises (IDBDatabaseException); | 44 raises (IDBDatabaseException); |
| 45 [ImplementedAs=continueFunction] void continue(in [Optional] IDBKey key) | 45 [ImplementedAs=continueFunction] void continue(in [Optional] IDBKey key) |
| 46 raises (IDBDatabaseException); | 46 raises (IDBDatabaseException); |
| 47 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBRequest d elete() | 47 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBRequest d elete() |
| 48 raises (IDBDatabaseException); | 48 raises (IDBDatabaseException); |
| 49 }; | 49 }; |
| OLD | NEW |