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

Side by Side Diff: client/dom/generated/monkey_dom.js

Issue 8591026: Roll DOM APIs forward on IDL & update Frog DOM (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change window and document to getters Created 9 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 | « client/dom/frog_dom.js ('k') | client/dom/generated/monkey_dom_externs.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // DO NOT EDIT 5 // DO NOT EDIT
6 // Auto-generated Dart DOM implementation. 6 // Auto-generated Dart DOM implementation.
7 7
8 function DOM$EnsureDartNull(value) { 8 function DOM$EnsureDartNull(value) {
9 return value === null ? (void 0) : value; 9 return value === null ? (void 0) : value;
10 } 10 }
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 return value; 311 return value;
312 } 312 }
313 function DOM$fixClass$CanvasRenderingContext(c) { 313 function DOM$fixClass$CanvasRenderingContext(c) {
314 if (c.prototype) { 314 if (c.prototype) {
315 c.prototype.canvas$getter = function() { return DOM$EnsureDartNull(this.canv as); }; 315 c.prototype.canvas$getter = function() { return DOM$EnsureDartNull(this.canv as); };
316 } 316 }
317 c.$implements$CanvasRenderingContext$Dart = 1; 317 c.$implements$CanvasRenderingContext$Dart = 1;
318 } 318 }
319 function DOM$fixClass$CanvasRenderingContext2D(c) { 319 function DOM$fixClass$CanvasRenderingContext2D(c) {
320 if (c.prototype) { 320 if (c.prototype) {
321 c.prototype.fillStyle$getter = function() { return DOM$EnsureDartNull(this.f illStyle); };
322 c.prototype.fillStyle$setter = function(value) { this.fillStyle = value; };
321 c.prototype.font$getter = function() { return DOM$EnsureDartNull(this.font); }; 323 c.prototype.font$getter = function() { return DOM$EnsureDartNull(this.font); };
322 c.prototype.font$setter = function(value) { this.font = value; }; 324 c.prototype.font$setter = function(value) { this.font = value; };
323 c.prototype.globalAlpha$getter = function() { return DOM$EnsureDartNull(this .globalAlpha); }; 325 c.prototype.globalAlpha$getter = function() { return DOM$EnsureDartNull(this .globalAlpha); };
324 c.prototype.globalAlpha$setter = function(value) { this.globalAlpha = value; }; 326 c.prototype.globalAlpha$setter = function(value) { this.globalAlpha = value; };
325 c.prototype.globalCompositeOperation$getter = function() { return DOM$Ensure DartNull(this.globalCompositeOperation); }; 327 c.prototype.globalCompositeOperation$getter = function() { return DOM$Ensure DartNull(this.globalCompositeOperation); };
326 c.prototype.globalCompositeOperation$setter = function(value) { this.globalC ompositeOperation = value; }; 328 c.prototype.globalCompositeOperation$setter = function(value) { this.globalC ompositeOperation = value; };
327 c.prototype.lineCap$getter = function() { return DOM$EnsureDartNull(this.lin eCap); }; 329 c.prototype.lineCap$getter = function() { return DOM$EnsureDartNull(this.lin eCap); };
328 c.prototype.lineCap$setter = function(value) { this.lineCap = value; }; 330 c.prototype.lineCap$setter = function(value) { this.lineCap = value; };
329 c.prototype.lineJoin$getter = function() { return DOM$EnsureDartNull(this.li neJoin); }; 331 c.prototype.lineJoin$getter = function() { return DOM$EnsureDartNull(this.li neJoin); };
330 c.prototype.lineJoin$setter = function(value) { this.lineJoin = value; }; 332 c.prototype.lineJoin$setter = function(value) { this.lineJoin = value; };
331 c.prototype.lineWidth$getter = function() { return DOM$EnsureDartNull(this.l ineWidth); }; 333 c.prototype.lineWidth$getter = function() { return DOM$EnsureDartNull(this.l ineWidth); };
332 c.prototype.lineWidth$setter = function(value) { this.lineWidth = value; }; 334 c.prototype.lineWidth$setter = function(value) { this.lineWidth = value; };
333 c.prototype.miterLimit$getter = function() { return DOM$EnsureDartNull(this. miterLimit); }; 335 c.prototype.miterLimit$getter = function() { return DOM$EnsureDartNull(this. miterLimit); };
334 c.prototype.miterLimit$setter = function(value) { this.miterLimit = value; } ; 336 c.prototype.miterLimit$setter = function(value) { this.miterLimit = value; } ;
335 c.prototype.shadowBlur$getter = function() { return DOM$EnsureDartNull(this. shadowBlur); }; 337 c.prototype.shadowBlur$getter = function() { return DOM$EnsureDartNull(this. shadowBlur); };
336 c.prototype.shadowBlur$setter = function(value) { this.shadowBlur = value; } ; 338 c.prototype.shadowBlur$setter = function(value) { this.shadowBlur = value; } ;
337 c.prototype.shadowColor$getter = function() { return DOM$EnsureDartNull(this .shadowColor); }; 339 c.prototype.shadowColor$getter = function() { return DOM$EnsureDartNull(this .shadowColor); };
338 c.prototype.shadowColor$setter = function(value) { this.shadowColor = value; }; 340 c.prototype.shadowColor$setter = function(value) { this.shadowColor = value; };
339 c.prototype.shadowOffsetX$getter = function() { return DOM$EnsureDartNull(th is.shadowOffsetX); }; 341 c.prototype.shadowOffsetX$getter = function() { return DOM$EnsureDartNull(th is.shadowOffsetX); };
340 c.prototype.shadowOffsetX$setter = function(value) { this.shadowOffsetX = va lue; }; 342 c.prototype.shadowOffsetX$setter = function(value) { this.shadowOffsetX = va lue; };
341 c.prototype.shadowOffsetY$getter = function() { return DOM$EnsureDartNull(th is.shadowOffsetY); }; 343 c.prototype.shadowOffsetY$getter = function() { return DOM$EnsureDartNull(th is.shadowOffsetY); };
342 c.prototype.shadowOffsetY$setter = function(value) { this.shadowOffsetY = va lue; }; 344 c.prototype.shadowOffsetY$setter = function(value) { this.shadowOffsetY = va lue; };
345 c.prototype.strokeStyle$getter = function() { return DOM$EnsureDartNull(this .strokeStyle); };
346 c.prototype.strokeStyle$setter = function(value) { this.strokeStyle = value; };
343 c.prototype.textAlign$getter = function() { return DOM$EnsureDartNull(this.t extAlign); }; 347 c.prototype.textAlign$getter = function() { return DOM$EnsureDartNull(this.t extAlign); };
344 c.prototype.textAlign$setter = function(value) { this.textAlign = value; }; 348 c.prototype.textAlign$setter = function(value) { this.textAlign = value; };
345 c.prototype.textBaseline$getter = function() { return DOM$EnsureDartNull(thi s.textBaseline); }; 349 c.prototype.textBaseline$getter = function() { return DOM$EnsureDartNull(thi s.textBaseline); };
346 c.prototype.textBaseline$setter = function(value) { this.textBaseline = valu e; }; 350 c.prototype.textBaseline$setter = function(value) { this.textBaseline = valu e; };
347 c.prototype.webkitLineDash$getter = function() { return DOM$EnsureDartNull(t his.webkitLineDash); }; 351 c.prototype.webkitLineDash$getter = function() { return DOM$EnsureDartNull(t his.webkitLineDash); };
348 c.prototype.webkitLineDash$setter = function(value) { this.webkitLineDash = value; }; 352 c.prototype.webkitLineDash$setter = function(value) { this.webkitLineDash = value; };
349 c.prototype.webkitLineDashOffset$getter = function() { return DOM$EnsureDart Null(this.webkitLineDashOffset); }; 353 c.prototype.webkitLineDashOffset$getter = function() { return DOM$EnsureDart Null(this.webkitLineDashOffset); };
350 c.prototype.webkitLineDashOffset$setter = function(value) { this.webkitLineD ashOffset = value; }; 354 c.prototype.webkitLineDashOffset$setter = function(value) { this.webkitLineD ashOffset = value; };
351 } 355 }
352 DOM$fixMembers(c, [ 356 DOM$fixMembers(c, [
(...skipping 20 matching lines...) Expand all
373 'putImageData', 377 'putImageData',
374 'quadraticCurveTo', 378 'quadraticCurveTo',
375 'rect', 379 'rect',
376 'restore', 380 'restore',
377 'rotate', 381 'rotate',
378 'save', 382 'save',
379 'scale', 383 'scale',
380 'setAlpha', 384 'setAlpha',
381 'setCompositeOperation', 385 'setCompositeOperation',
382 'setFillColor', 386 'setFillColor',
383 'setFillStyle',
384 'setLineCap', 387 'setLineCap',
385 'setLineJoin', 388 'setLineJoin',
386 'setLineWidth', 389 'setLineWidth',
387 'setMiterLimit', 390 'setMiterLimit',
388 'setShadow', 391 'setShadow',
389 'setStrokeColor', 392 'setStrokeColor',
390 'setStrokeStyle',
391 'setTransform', 393 'setTransform',
392 'stroke', 394 'stroke',
393 'strokeRect', 395 'strokeRect',
394 'strokeText', 396 'strokeText',
395 'transform', 397 'transform',
396 'translate']); 398 'translate']);
397 c.prototype.createImageData$member = function() { 399 c.prototype.createImageData$member = function() {
398 return DOM$fixValue$ImageData(this.createImageData.apply(this, arguments)); 400 return DOM$fixValue$ImageData(this.createImageData.apply(this, arguments));
399 }; 401 };
400 c.prototype.getImageData$member = function() { 402 c.prototype.getImageData$member = function() {
(...skipping 6843 matching lines...) Expand 10 before | Expand all | Expand 10 after
7244 function native__NativeDomGlobalProperties_getWindow() { 7246 function native__NativeDomGlobalProperties_getWindow() {
7245 // TODO: Should the window be obtained from an isolate? 7247 // TODO: Should the window be obtained from an isolate?
7246 return window; 7248 return window;
7247 } 7249 }
7248 7250
7249 // Declared in src/GlobalProperties.dart 7251 // Declared in src/GlobalProperties.dart
7250 function native__NativeDomGlobalProperties_getDocument() { 7252 function native__NativeDomGlobalProperties_getDocument() {
7251 // TODO: Should the window be obtained from an isolate? 7253 // TODO: Should the window be obtained from an isolate?
7252 return window.document; 7254 return window.document;
7253 } 7255 }
OLDNEW
« no previous file with comments | « client/dom/frog_dom.js ('k') | client/dom/generated/monkey_dom_externs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698