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

Unified Diff: tools/dom/idl/dart/dart.idl

Issue 13843029: WebKit IDL roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/idl/dart/dart.idl
diff --git a/tools/dom/idl/dart/dart.idl b/tools/dom/idl/dart/dart.idl
index fbb1d443fece7db5d8797cd547296674155c5da8..0c43d954760157ef1727fee66e0cf49ea15a6db0 100644
--- a/tools/dom/idl/dart/dart.idl
+++ b/tools/dom/idl/dart/dart.idl
@@ -161,7 +161,7 @@ interface WebGLRenderingContext {
};
[Supplemental]
interface CSSStyleDeclaration {
- void setProperty(in DOMString propertyName, in DOMString value, in optional DOMString priority);
+ void setProperty(in DOMString propertyName, in DOMString value, [ForceOptional] optional DOMString priority);
[DartName=_getPropertyValue] DOMString getPropertyValue(in DOMString propertyName);
};
@@ -242,8 +242,18 @@ interface DataView {
// TODO(vsm): Define new names for these (see b/4436830).
[Supplemental]
interface IDBCursor {
- [Suppressed, CallWith=ScriptExecutionContext, ImplementedAs=continueFunction, RaisesException] void continue([Default=Undefined] optional any key);
- [CallWith=ScriptExecutionContext, ImplementedAs=continueFunction, RaisesException] void next([Default=Undefined] optional any key);
+ [DartName=next, CallWith=ScriptExecutionContext, ImplementedAs=continueFunction, RaisesException] void continue([ForceOptional] optional any key);
+};
+[Supplemental]
+interface IDBIndex {
+ [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([ForceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString direction);
+ [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any key, [ForceOptional] optional DOMString direction);
+ [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor([ForceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString direction);
+ [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor(any key,
+ [ForceOptional] optional DOMString direction);
+
+ [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOptional] optional IDBKeyRange? range);
+ [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key);
};
[Supplemental]
interface IDBDatabase {
@@ -257,9 +267,18 @@ interface IDBDatabase {
[Supplemental]
interface IDBKeyRange {
[DartName=only_] static IDBKeyRange only(in any value);
- [DartName=lowerBound_] static IDBKeyRange lowerBound(in any bound, optional boolean open);
- [DartName=upperBound_] static IDBKeyRange upperBound(in any bound, optional boolean open);
- [DartName=bound_] static IDBKeyRange bound(in any lower, in any upper, optional boolean lowerOpen, optional boolean upperOpen);
+ [DartName=lowerBound_] static IDBKeyRange lowerBound(in any bound, [ForceOptional] optional boolean open);
+ [DartName=upperBound_] static IDBKeyRange upperBound(in any bound, [ForceOptional] optional boolean open);
+ [DartName=bound_] static IDBKeyRange bound(in any lower, in any upper, [ForceOptional] optional boolean lowerOpen, [ForceOptional] optional boolean upperOpen);
+};
+[Supplemental]
+interface IDBObjectStore {
+ [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [ForceOptional] optional any key);
+ [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [ForceOptional] optional any key);
+ [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([ForceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString direction);
+ [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any key, [ForceOptional] optional DOMString direction);
+ [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOptional] optional IDBKeyRange? range);
+ [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key);
};
interface EntrySync {
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698