| Index: client/dom/scripts/template_monkey_dom.js
|
| diff --git a/client/dom/scripts/template_monkey_dom.js b/client/dom/scripts/template_monkey_dom.js
|
| index 5562da4fb4cfc2d6ae63712652645b5421a5bd7c..b6dbc673ebf6e7676c25d85670aa092bb012e4ff 100644
|
| --- a/client/dom/scripts/template_monkey_dom.js
|
| +++ b/client/dom/scripts/template_monkey_dom.js
|
| @@ -98,36 +98,6 @@ $(!INNER)
|
| w.Location = tmpLocation;
|
| }
|
|
|
| - // TODO(vsm): Refactor additional implementation code to a separate file.
|
| - w.DOMWindow.prototype.createXMLHttpRequest = function() {
|
| - return new XMLHttpRequest();
|
| - };
|
| -
|
| - w.DOMWindow.prototype.createWebKitCSSMatrix = function(opt_value) {
|
| - if (typeof opt_value === "undefined")
|
| - return new WebKitCSSMatrix();
|
| - else
|
| - return new WebKitCSSMatrix(opt_value);
|
| - };
|
| -
|
| - w.DOMWindow.prototype.createWebKitPoint = function(x, y) {
|
| - return new WebKitPoint(x, y);
|
| - };
|
| -
|
| - w.DOMWindow.prototype.createFileReader = function() {
|
| - return new FileReader();
|
| - };
|
| -
|
| - // TODO(vsm): These will eventually be changed to attributes
|
| - // with a getter and setter (see b/4341558).
|
| - w.CanvasRenderingContext2D.prototype.setFillStyle = function(value) {
|
| - this.fillStyle = value;
|
| - };
|
| -
|
| - w.CanvasRenderingContext2D.prototype.setStrokeStyle = function(value) {
|
| - this.strokeStyle = value;
|
| - };
|
| -
|
| // Chrome still uses initWebKitWheelEvent.
|
| if (w && w.WheelEvent && w.WheelEvent.prototype &&
|
| !w.WheelEvent.prototype.initWheelEvent) {
|
|
|