OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 rect: function(x, y, w, h) {}, | 373 rect: function(x, y, w, h) {}, |
374 /** | 374 /** |
375 * @param {number} x | 375 * @param {number} x |
376 * @param {number} y | 376 * @param {number} y |
377 */ | 377 */ |
378 moveTo: function(x, y) {}, | 378 moveTo: function(x, y) {}, |
379 /** | 379 /** |
380 * @param {number} x | 380 * @param {number} x |
381 * @param {number} y | 381 * @param {number} y |
382 */ | 382 */ |
383 lineTo: function(x, y) {} | 383 lineTo: function(x, y) {}, |
| 384 /** |
| 385 * @param {number} x |
| 386 * @param {number} y |
| 387 * @param {number} radius |
| 388 * @param {number} startAngle |
| 389 * @param {number} endAngle |
| 390 * @param {number=} anticlockwise |
| 391 */ |
| 392 arc: function(x, y, radius, startAngle, endAngle, anticlockwise) {} |
384 }; | 393 }; |
385 | 394 |
386 /** @constructor */ | 395 /** @constructor */ |
387 var Doc = function() {}; | 396 var Doc = function() {}; |
388 Doc.prototype = { | 397 Doc.prototype = { |
389 /** @type {number} */ | 398 /** @type {number} */ |
390 scrollLeft: 0, | 399 scrollLeft: 0, |
391 /** @type {number} */ | 400 /** @type {number} */ |
392 scrollTop: 0 | 401 scrollTop: 0 |
393 }; | 402 }; |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 var Terminal = function(params) {}; | 814 var Terminal = function(params) {}; |
806 | 815 |
807 Terminal.prototype = { | 816 Terminal.prototype = { |
808 fit: function() {}, | 817 fit: function() {}, |
809 linkify: function() {}, | 818 linkify: function() {}, |
810 /** @param {!Element} element */ | 819 /** @param {!Element} element */ |
811 open: function(element) {}, | 820 open: function(element) {}, |
812 /** @param {string} eventName * @param {!Function} handler */ | 821 /** @param {string} eventName * @param {!Function} handler */ |
813 on: function(eventName, handler) {} | 822 on: function(eventName, handler) {} |
814 }; | 823 }; |
OLD | NEW |