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

Unified Diff: client/html/dartium/html_dartium.dart

Issue 9594047: Regenerate the new HTML stuff. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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:
Download patch
« no previous file with comments | « no previous file | client/html/frog/html_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/dartium/html_dartium.dart
diff --git a/client/html/dartium/html_dartium.dart b/client/html/dartium/html_dartium.dart
index 5bb4f6b3718d8e2e4cfae4e6496a2c0dd3f55c5c..850fcb91ad66d0db1fd053978cbf2e4f8c21f18b 100644
--- a/client/html/dartium/html_dartium.dart
+++ b/client/html/dartium/html_dartium.dart
@@ -5589,7 +5589,7 @@ class _ClipboardImpl extends _DOMTypeBase implements Clipboard {
DataTransferItemList get items() => _wrap(_ptr.items);
- List get types() => _wrap(_ptr.types);
+ List<String> get types() => _wrap(_ptr.types);
void clearData([String type = null]) {
if (type === null) {
@@ -6179,9 +6179,14 @@ class _DataTransferItemImpl extends _DOMTypeBase implements DataTransferItem {
return _wrap(_ptr.getAsFile());
}
- void getAsString(StringCallback callback) {
- _ptr.getAsString(_unwrap(callback));
- return;
+ void getAsString([StringCallback callback = null]) {
+ if (callback === null) {
+ _ptr.getAsString();
+ return;
+ } else {
+ _ptr.getAsString(_unwrap(callback));
+ return;
+ }
}
}
@@ -6741,7 +6746,7 @@ class _DocumentImpl extends _ElementImpl
return _wrap(_documentPtr.execCommand(_unwrap(command), _unwrap(userInterface), _unwrap(value)));
}
- Object getCSSCanvasContext(String contextId, String name, int width, int height) {
+ CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int width, int height) {
return _wrap(_documentPtr.getCSSCanvasContext(_unwrap(contextId), _unwrap(name), _unwrap(width), _unwrap(height)));
}
@@ -7581,6 +7586,10 @@ class _ElementImpl extends _NodeImpl implements Element {
void set title(String value) { _ptr.title = _unwrap(value); }
+ bool get translate() => _wrap(_ptr.translate);
+
+ void set translate(bool value) { _ptr.translate = _unwrap(value); }
+
String get webkitRegionOverflow() => _wrap(_ptr.webkitRegionOverflow);
String get webkitdropzone() => _wrap(_ptr.webkitdropzone);
@@ -9381,12 +9390,20 @@ class _IDBDatabaseImpl extends _DOMTypeBase implements IDBDatabase {
return _wrap(_ptr.setVersion(_unwrap(version)));
}
- IDBTransaction transaction(var storeName_OR_storeNames, int mode) {
+ IDBTransaction transaction(var storeName_OR_storeNames, [int mode = null]) {
if (storeName_OR_storeNames is List<String>) {
- return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames), _unwrap(mode)));
+ if (mode === null) {
+ return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames)));
+ } else {
+ return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames), _unwrap(mode)));
+ }
} else {
if (storeName_OR_storeNames is String) {
- return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames), _unwrap(mode)));
+ if (mode === null) {
+ return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames)));
+ } else {
+ return _wrap(_ptr.transaction(_unwrap(storeName_OR_storeNames), _unwrap(mode)));
+ }
}
}
throw "Incorrect number or type of arguments";
@@ -9585,8 +9602,15 @@ class _IDBObjectStoreImpl extends _DOMTypeBase implements IDBObjectStore {
return _wrap(_ptr.createIndex(_unwrap(name), _unwrap(keyPath)));
}
- IDBRequest delete(IDBKey key) {
- return _wrap(_ptr.delete(_unwrap(key)));
+ IDBRequest delete(var key_OR_keyRange) {
+ if (key_OR_keyRange is IDBKeyRange) {
+ return _wrap(_ptr.delete(_unwrap(key_OR_keyRange)));
+ } else {
+ if (key_OR_keyRange is IDBKey) {
+ return _wrap(_ptr.delete(_unwrap(key_OR_keyRange)));
+ }
+ }
+ throw "Incorrect number or type of arguments";
}
void deleteIndex(String name) {
@@ -18662,6 +18686,16 @@ class _Uint8ClampedArrayImpl extends _Uint8ArrayImpl implements Uint8ClampedArra
int get length() => _wrap(_ptr.length);
+ void setElements(Object array, [int offset = null]) {
+ if (offset === null) {
+ _ptr.setElements(_unwrap(array));
+ return;
+ } else {
+ _ptr.setElements(_unwrap(array), _unwrap(offset));
+ return;
+ }
+ }
+
Uint8ClampedArray subarray(int start, [int end = null]) {
if (end === null) {
return _wrap(_ptr.subarray(_unwrap(start)));
@@ -19621,6 +19655,8 @@ class _WebKitCSSRegionRuleImpl extends _CSSRuleImpl implements WebKitCSSRegionRu
class _WebKitNamedFlowImpl extends _DOMTypeBase implements WebKitNamedFlow {
_WebKitNamedFlowImpl._wrap(ptr) : super._wrap(ptr);
+
+ bool get overflow() => _wrap(_ptr.overflow);
}
class _WebSocketImpl extends _EventTargetImpl implements WebSocket {
@@ -24139,7 +24175,7 @@ interface Clipboard {
final DataTransferItemList items;
- final List types;
+ final List<String> types;
void clearData([String type]);
@@ -24686,7 +24722,7 @@ interface DataTransferItem {
Blob getAsFile();
- void getAsString(StringCallback callback);
+ void getAsString([StringCallback callback]);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -24988,7 +25024,7 @@ interface Document extends HtmlElement {
bool execCommand(String command, bool userInterface, String value);
- Object getCSSCanvasContext(String contextId, String name, int width, int height);
+ CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int width, int height);
bool queryCommandEnabled(String command);
@@ -25515,6 +25551,8 @@ interface Element extends Node, NodeSelector default _ElementFactoryProvider {
String title;
+ bool translate;
+
final String webkitRegionOverflow;
String webkitdropzone;
@@ -26734,7 +26772,7 @@ interface IDBDatabase {
IDBVersionChangeRequest setVersion(String version);
- IDBTransaction transaction(var storeName_OR_storeNames, int mode);
+ IDBTransaction transaction(var storeName_OR_storeNames, [int mode]);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -26890,7 +26928,7 @@ interface IDBObjectStore {
IDBIndex createIndex(String name, String keyPath);
- IDBRequest delete(IDBKey key);
+ IDBRequest delete(var key_OR_keyRange);
void deleteIndex(String name);
@@ -32953,6 +32991,8 @@ interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide
final int length;
+ void setElements(Object array, [int offset]);
+
Uint8ClampedArray subarray(int start, [int end]);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -34089,6 +34129,8 @@ interface WebKitCSSRegionRule extends CSSRule {
// WARNING: Do not edit - generated code.
interface WebKitNamedFlow {
+
+ final bool overflow;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
« no previous file with comments | « no previous file | client/html/frog/html_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698