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

Unified Diff: tools/dom/src/_chrome/file_system.dart

Issue 1310363006: Patched in Dartium JsInterop (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | « tools/dom/src/_chrome/app_window.dart ('k') | tools/dom/src/_chrome/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/_chrome/file_system.dart
diff --git a/tools/dom/src/_chrome/file_system.dart b/tools/dom/src/_chrome/file_system.dart
index b3d532a74e82908feb1df6f54f360771bdeef17d..83212c5448f4557a2204737b80953384da2346a6 100644
--- a/tools/dom/src/_chrome/file_system.dart
+++ b/tools/dom/src/_chrome/file_system.dart
@@ -37,7 +37,7 @@ class FilesystemAcceptOption extends ChromeObject {
/// *.htm").
String get description => JS('String', '#.description', this._jsObject);
- void set description(String description) {
+ set description(String description) {
JS('void', '#.description = #', this._jsObject, description);
}
@@ -45,14 +45,14 @@ class FilesystemAcceptOption extends ChromeObject {
/// extensions must contain at least one valid element.
List<String> get mimeTypes => JS('List<String>', '#.mimeTypes', this._jsObject);
- void set mimeTypes(List<String> mimeTypes) {
+ set mimeTypes(List<String> mimeTypes) {
JS('void', '#.mimeTypes = #', this._jsObject, mimeTypes);
}
/// Extensions to accept, e.g. "jpg", "gif", "crx".
List<String> get extensions => JS('List<String>', '#.extensions', this._jsObject);
- void set extensions(List<String> extensions) {
+ set extensions(List<String> extensions) {
JS('void', '#.extensions = #', this._jsObject, extensions);
}
@@ -84,7 +84,7 @@ class FilesystemChooseEntryOptions extends ChromeObject {
/// Type of the prompt to show. The default is 'openFile'.
String get type => JS('String', '#.type', this._jsObject);
- void set type(String type) {
+ set type(String type) {
JS('void', '#.type = #', this._jsObject, type);
}
@@ -92,7 +92,7 @@ class FilesystemChooseEntryOptions extends ChromeObject {
/// name to read or write. This is optional.
String get suggestedName => JS('String', '#.suggestedName', this._jsObject);
- void set suggestedName(String suggestedName) {
+ set suggestedName(String suggestedName) {
JS('void', '#.suggestedName = #', this._jsObject, suggestedName);
}
@@ -108,7 +108,7 @@ class FilesystemChooseEntryOptions extends ChromeObject {
return __proxy_accepts;
}
- void set accepts(List<FilesystemAcceptOption> accepts) {
+ set accepts(List<FilesystemAcceptOption> accepts) {
JS('void', '#.accepts = #', this._jsObject, convertArgument(accepts));
}
@@ -117,7 +117,7 @@ class FilesystemChooseEntryOptions extends ChromeObject {
/// contains no valid entries, this will always be reset to true.
bool get acceptsAllTypes => JS('bool', '#.acceptsAllTypes', this._jsObject);
- void set acceptsAllTypes(bool acceptsAllTypes) {
+ set acceptsAllTypes(bool acceptsAllTypes) {
JS('void', '#.acceptsAllTypes = #', this._jsObject, acceptsAllTypes);
}
« no previous file with comments | « tools/dom/src/_chrome/app_window.dart ('k') | tools/dom/src/_chrome/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698