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

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

Issue 8344019: Remove createXMLHttpRequest and other 'factory' constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 months 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
« no previous file with comments | « client/dom/scripts/dartgenerator.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/scripts/template_wrapping_dom.js
diff --git a/client/dom/scripts/template_wrapping_dom.js b/client/dom/scripts/template_wrapping_dom.js
index a20677538c36ecd78235752d896f766a6a3aaff8..3f220aa3e82ad938c354a69f5c727ace07f35013 100644
--- a/client/dom/scripts/template_wrapping_dom.js
+++ b/client/dom/scripts/template_wrapping_dom.js
@@ -32,46 +32,6 @@ function native__WorkerContextWrappingImplementation__setTimeout(_this, callback
return __dom_native_TimeoutHander_method(_this, callback, timeout, 'setTimeout');
}
-function native__DOMWindowWrappingImplementation__createFileReader(_this) {
- try {
- return __dom_wrap(new FileReader());
- } catch (e) {
- throw __dom_wrap_exception(e);
- }
-}
-
-function native__DOMWindowWrappingImplementation__createWebKitCSSMatrix(_this) {
- try {
- return __dom_wrap(new WebKitCSSMatrix());
- } catch (e) {
- throw __dom_wrap_exception(e);
- }
-}
-
-function native__DOMWindowWrappingImplementation__createWebKitCSSMatrix_2(_this, cssValue) {
- try {
- return __dom_wrap(new WebKitCSSMatrix(__dom_unwrap(cssValue)));
- } catch (e) {
- throw __dom_wrap_exception(e);
- }
-}
-
-function native__DOMWindowWrappingImplementation__createWebKitPoint(_this, x, y) {
- try {
- return __dom_wrap(new WebKitPoint(x, y));
- } catch (e) {
- throw __dom_wrap_exception(e);
- }
-}
-
-function native__DOMWindowWrappingImplementation__createXMLHttpRequest(_this) {
- try {
- return __dom_wrap(new XMLHttpRequest());
- } catch (e) {
- throw __dom_wrap_exception(e);
- }
-}
-
function native__CanvasRenderingContext2DWrappingImplementation__setFillStyle(_this, color_OR_gradient_OR_pattern) {
try {
_this.$dom.fillStyle = __dom_unwrap(color_OR_gradient_OR_pattern);
« no previous file with comments | « client/dom/scripts/dartgenerator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698