Chromium Code Reviews| Index: sdk/lib/html/dart2js/html_dart2js.dart |
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
| index 3f455e9222981f5eee2d05347e948607e43fd61d..dfb31c2602fe1d0485ec94d81c9577d544b2f99f 100644 |
| --- a/sdk/lib/html/dart2js/html_dart2js.dart |
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart |
| @@ -26315,12 +26315,14 @@ class WheelEvent extends MouseEvent native "WheelEvent,MouseWheelEvent,MouseScro |
| * Top-level container for the current browser tab or window. |
| * |
| * In a web browser, each window has a [Window] object, but within the context |
| - * of a script, a [Window] object represents only the current window. In |
| - * addition to the open window, each window, tab, and iframe has its own |
| - * [Window] object. A [Window] contains a [Document] object, which contains this |
| - * web page's content. |
| + * of a script, this object represents only the current window. |
| + * Each other window, tab, and iframe has its own [Window] object. |
| * |
| - * Use `window` to access properties of the current window. For example: |
| + * Each window contains a [Document] object, which contains all of the window's |
| + * content. |
| + * |
| + * Use the top-level `window` object to access the current window. |
| + * For example: |
| * |
| * // Draw a scene when the window repaints. |
| * drawScene(num delta) {...} |
| @@ -26330,8 +26332,12 @@ class WheelEvent extends MouseEvent native "WheelEvent,MouseWheelEvent,MouseScro |
| * window.console.log('Jinkies!'); |
| * window.console.error('Jeepers!'); |
| * |
| - * **Note:** This class represents the current window, whereas [WindowBase] is |
| - * a representation of any window, including other tabs, windows, and frames. |
| + * **Note:** This class represents only the current window, while [WindowBase] |
| + * is a representation of any window, including other tabs, windows, and frames. |
| + * |
| + * ## See also |
| + * |
| + * [WindowBase] |
| * |
| * ## Other resources |
| * |
| @@ -29804,13 +29810,17 @@ abstract class CanvasImageSource {} |
| /** |
| * Top-level container for a browser tab or window. |
| * |
| - * In a web browser, a [WindowBase] object represents any browser window. This |
| - * abstract class contains the state of the window and its relation to other |
| - * windows, such as which window opened it. |
| + * In a web browser, a [WindowBase] object represents any browser window. This |
| + * object contains the window's state and its relation to other |
| + * windows, such as which window opened this window. |
| * |
| - * **Note:** This class represents any window, whereas [Window] is |
| + * **Note:** This class represents any window, while [Window] is |
| * used to access the properties and content of the current window or tab. |
| * |
| + * ## See also |
| + * |
| + * [Window] |
|
Kathy Walrath
2013/11/06 18:12:53
Should we add a "*"? (You use a * in the "Other re
|
| + * |
| * ## Other resources |
| * |
| * * [DOM Window](https://developer.mozilla.org/en-US/docs/DOM/window) from MDN. |