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

Unified Diff: client/dom/generated/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/generated/monkey_dom.js
diff --git a/client/dom/generated/monkey_dom.js b/client/dom/generated/monkey_dom.js
index eb22d5acf117fc95d01cb212b4c038db26778a5b..8bbac88b86b21db6663d0ae11eeed743425ce125 100644
--- a/client/dom/generated/monkey_dom.js
+++ b/client/dom/generated/monkey_dom.js
@@ -7178,36 +7178,6 @@ var _;
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