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

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

Issue 1349493003: Dartium JS Interop enabled. (Closed) Base URL: https://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_runtime.dart ('k') | tools/dom/src/_chrome/file_system.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/_chrome/app_window.dart
diff --git a/tools/dom/src/_chrome/app_window.dart b/tools/dom/src/_chrome/app_window.dart
index 6c62ab00ec1d80fab0a97ac43d66466d85f58dbb..515061e847c7a6d7d3fc4d431d0c25bb1057e210 100644
--- a/tools/dom/src/_chrome/app_window.dart
+++ b/tools/dom/src/_chrome/app_window.dart
@@ -35,25 +35,25 @@ class AppWindowBounds extends ChromeObject {
*/
int get left => JS('int', '#.left', this._jsObject);
- void set left(int left) {
+ set left(int left) {
JS('void', '#.left = #', this._jsObject, left);
}
int get top => JS('int', '#.top', this._jsObject);
- void set top(int top) {
+ set top(int top) {
JS('void', '#.top = #', this._jsObject, top);
}
int get width => JS('int', '#.width', this._jsObject);
- void set width(int width) {
+ set width(int width) {
JS('void', '#.width = #', this._jsObject, width);
}
int get height => JS('int', '#.height', this._jsObject);
- void set height(int height) {
+ set height(int height) {
JS('void', '#.height = #', this._jsObject, height);
}
@@ -121,7 +121,7 @@ class AppWindowCreateWindowOptions extends ChromeObject {
/// same id is later opened.
String get id => JS('String', '#.id', this._jsObject);
- void set id(String id) {
+ set id(String id) {
JS('void', '#.id = #', this._jsObject, id);
}
@@ -129,7 +129,7 @@ class AppWindowCreateWindowOptions extends ChromeObject {
/// now.)
int get defaultWidth => JS('int', '#.defaultWidth', this._jsObject);
- void set defaultWidth(int defaultWidth) {
+ set defaultWidth(int defaultWidth) {
JS('void', '#.defaultWidth = #', this._jsObject, defaultWidth);
}
@@ -137,7 +137,7 @@ class AppWindowCreateWindowOptions extends ChromeObject {
/// now.)
int get defaultHeight => JS('int', '#.defaultHeight', this._jsObject);
- void set defaultHeight(int defaultHeight) {
+ set defaultHeight(int defaultHeight) {
JS('void', '#.defaultHeight = #', this._jsObject, defaultHeight);
}
@@ -145,7 +145,7 @@ class AppWindowCreateWindowOptions extends ChromeObject {
/// this now.)
int get defaultLeft => JS('int', '#.defaultLeft', this._jsObject);
- void set defaultLeft(int defaultLeft) {
+ set defaultLeft(int defaultLeft) {
JS('void', '#.defaultLeft = #', this._jsObject, defaultLeft);
}
@@ -153,77 +153,77 @@ class AppWindowCreateWindowOptions extends ChromeObject {
/// this now.)
int get defaultTop => JS('int', '#.defaultTop', this._jsObject);
- void set defaultTop(int defaultTop) {
+ set defaultTop(int defaultTop) {
JS('void', '#.defaultTop = #', this._jsObject, defaultTop);
}
/// Width of the window. (Deprecated; use 'bounds'.)
int get width => JS('int', '#.width', this._jsObject);
- void set width(int width) {
+ set width(int width) {
JS('void', '#.width = #', this._jsObject, width);
}
/// Height of the window. (Deprecated; use 'bounds'.)
int get height => JS('int', '#.height', this._jsObject);
- void set height(int height) {
+ set height(int height) {
JS('void', '#.height = #', this._jsObject, height);
}
/// X coordinate of the window. (Deprecated; use 'bounds'.)
int get left => JS('int', '#.left', this._jsObject);
- void set left(int left) {
+ set left(int left) {
JS('void', '#.left = #', this._jsObject, left);
}
/// Y coordinate of the window. (Deprecated; use 'bounds'.)
int get top => JS('int', '#.top', this._jsObject);
- void set top(int top) {
+ set top(int top) {
JS('void', '#.top = #', this._jsObject, top);
}
/// Minimum width for the lifetime of the window.
int get minWidth => JS('int', '#.minWidth', this._jsObject);
- void set minWidth(int minWidth) {
+ set minWidth(int minWidth) {
JS('void', '#.minWidth = #', this._jsObject, minWidth);
}
/// Minimum height for the lifetime of the window.
int get minHeight => JS('int', '#.minHeight', this._jsObject);
- void set minHeight(int minHeight) {
+ set minHeight(int minHeight) {
JS('void', '#.minHeight = #', this._jsObject, minHeight);
}
/// Maximum width for the lifetime of the window.
int get maxWidth => JS('int', '#.maxWidth', this._jsObject);
- void set maxWidth(int maxWidth) {
+ set maxWidth(int maxWidth) {
JS('void', '#.maxWidth = #', this._jsObject, maxWidth);
}
/// Maximum height for the lifetime of the window.
int get maxHeight => JS('int', '#.maxHeight', this._jsObject);
- void set maxHeight(int maxHeight) {
+ set maxHeight(int maxHeight) {
JS('void', '#.maxHeight = #', this._jsObject, maxHeight);
}
/// Type of window to create.
String get type => JS('String', '#.type', this._jsObject);
- void set type(String type) {
+ set type(String type) {
JS('void', '#.type = #', this._jsObject, type);
}
/// Frame type: 'none' or 'chrome' (defaults to 'chrome').
String get frame => JS('String', '#.frame', this._jsObject);
- void set frame(String frame) {
+ set frame(String frame) {
JS('void', '#.frame = #', this._jsObject, frame);
}
@@ -232,7 +232,7 @@ class AppWindowCreateWindowOptions extends ChromeObject {
/// before, the remembered bounds of the window will be used instead.
AppWindowBounds get bounds => new AppWindowBounds._proxy(JS('', '#.bounds', this._jsObject));
- void set bounds(AppWindowBounds bounds) {
+ set bounds(AppWindowBounds bounds) {
JS('void', '#.bounds = #', this._jsObject, convertArgument(bounds));
}
@@ -240,7 +240,7 @@ class AppWindowCreateWindowOptions extends ChromeObject {
/// experimental API permission.
bool get transparentBackground => JS('bool', '#.transparentBackground', this._jsObject);
- void set transparentBackground(bool transparentBackground) {
+ set transparentBackground(bool transparentBackground) {
JS('void', '#.transparentBackground = #', this._jsObject, transparentBackground);
}
@@ -248,7 +248,7 @@ class AppWindowCreateWindowOptions extends ChromeObject {
/// fullscreen, maximized, or minimized. Defaults to 'normal'.
String get state => JS('String', '#.state', this._jsObject);
- void set state(String state) {
+ set state(String state) {
JS('void', '#.state = #', this._jsObject, state);
}
@@ -256,14 +256,14 @@ class AppWindowCreateWindowOptions extends ChromeObject {
/// window to show it once it has been created. Defaults to false.
bool get hidden => JS('bool', '#.hidden', this._jsObject);
- void set hidden(bool hidden) {
+ set hidden(bool hidden) {
JS('void', '#.hidden = #', this._jsObject, hidden);
}
/// If true, the window will be resizable by the user. Defaults to true.
bool get resizable => JS('bool', '#.resizable', this._jsObject);
- void set resizable(bool resizable) {
+ set resizable(bool resizable) {
JS('void', '#.resizable = #', this._jsObject, resizable);
}
@@ -274,7 +274,7 @@ class AppWindowCreateWindowOptions extends ChromeObject {
/// property to false.
bool get singleton => JS('bool', '#.singleton', this._jsObject);
- void set singleton(bool singleton) {
+ set singleton(bool singleton) {
JS('void', '#.singleton = #', this._jsObject, singleton);
}
« no previous file with comments | « tools/dom/src/_chrome/app_runtime.dart ('k') | tools/dom/src/_chrome/file_system.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698