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

Side by Side Diff: tools/dom/docs/docs.json

Issue 51183002: Updated top level docs for Window. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/src/CrossFrameTypes.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "dart.dom.html": { 2 "dart.dom.html": {
3 "CanvasGradient": { 3 "CanvasGradient": {
4 "comment": [ 4 "comment": [
5 "/**", 5 "/**",
6 " * An opaque canvas object representing a gradient.", 6 " * An opaque canvas object representing a gradient.",
7 " *", 7 " *",
8 " * Created by calling [createLinearGradient] or [createRadialGradient] on a", 8 " * Created by calling [createLinearGradient] or [createRadialGradient] on a",
9 " * [CanvasRenderingContext2D] object.", 9 " * [CanvasRenderingContext2D] object.",
10 " *", 10 " *",
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 "/**", 303 "/**",
304 " * Transmit data to the server over this connection.", 304 " * Transmit data to the server over this connection.",
305 " *", 305 " *",
306 " * This method accepts data of type [Blob], [ByteBuffer], [String], or", 306 " * This method accepts data of type [Blob], [ByteBuffer], [String], or",
307 " * [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendS tring],", 307 " * [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendS tring],",
308 " * or [sendTypedData], in constrast, only accept data of the specif ied type.", 308 " * or [sendTypedData], in constrast, only accept data of the specif ied type.",
309 " */" 309 " */"
310 ] 310 ]
311 } 311 }
312 }, 312 },
313 "Window": {
314 "comment": [
315 "/**",
316 " * Top-level container for the current browser tab or window.",
317 " *",
318 " * In a web browser, each window has a [Window] object, but within the context",
319 " * of a script, a [Window] object represents only the current window. I n",
320 " * addition to the open window, each window, tab, and iframe has its ow n",
321 " * [Window] object. A [Window] contains a [Document] object, which cont ains this",
322 " * web page's content.",
323 " *",
324 " * Use `window` to access properties of the current window. For example :",
325 " *",
326 " * // Draw a scene when the window repaints.",
327 " * drawScene(num delta) {...}",
328 " * window.animationFrame.then(drawScene);.",
329 " *",
330 " * // Write to the console.",
331 " * window.console.log('Jinkies!');",
332 " * window.console.error('Jeepers!');",
333 " *",
334 " * **Note:** This class represents the current window, whereas [WindowB ase] is",
335 " * a representation of any window, including other tabs, windows, and f rames.",
336 " *",
337 " * ## Other resources",
338 " *",
339 " * * [DOM Window](https://developer.mozilla.org/en-US/docs/DOM/window) from MDN.",
340 " * * [Window](http://www.w3.org/TR/Window/) from the W3C.",
341 " */"
342 ]
343 },
313 "XMLHttpRequest": { 344 "XMLHttpRequest": {
314 "members": { 345 "members": {
315 "abort": [ 346 "abort": [
316 "/**", 347 "/**",
317 " * Stop the current request.", 348 " * Stop the current request.",
318 " *", 349 " *",
319 " * The request can only be stopped if readyState is `HEADERS_RECIEV ED` or", 350 " * The request can only be stopped if readyState is `HEADERS_RECIEV ED` or",
320 " * `LOADING`. If this method is not in the process of being sent, t he method", 351 " * `LOADING`. If this method is not in the process of being sent, t he method",
321 " * has no effect.", 352 " * has no effect.",
322 " */" 353 " */"
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 " *", 644 " *",
614 " * [oldVersion] should match the database's current [version] exact ly.", 645 " * [oldVersion] should match the database's current [version] exact ly.",
615 " *", 646 " *",
616 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.", 647 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.",
617 " */" 648 " */"
618 ] 649 ]
619 } 650 }
620 } 651 }
621 } 652 }
622 } 653 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/src/CrossFrameTypes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698