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

Unified Diff: client/dom/scripts/template_monkey_dom.js

Issue 8595020: Cleanup old code and refresh on IDL (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698