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

Unified Diff: Source/core/xml/XMLHttpRequestEventTarget.idl

Issue 23243002: Introduce XMLHttpRequestEventTarget IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
Index: Source/core/xml/XMLHttpRequestEventTarget.idl
diff --git a/Source/core/page/WindowBase64.idl b/Source/core/xml/XMLHttpRequestEventTarget.idl
similarity index 76%
copy from Source/core/page/WindowBase64.idl
copy to Source/core/xml/XMLHttpRequestEventTarget.idl
index e27a93b90ee5e16638b0b1a3367cbcb9ff000dfe..ccaf8ead441ad10e703e5fa0a161f65e90f6f7b4 100644
--- a/Source/core/page/WindowBase64.idl
+++ b/Source/core/xml/XMLHttpRequestEventTarget.idl
@@ -1,6 +1,5 @@
/*
- * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
- * Copyright (C) 2011 Google Inc. All rights reserved.
+ * Copyright (C) 2008, 2010 Apple Inc. All rights reserved.
arv (Not doing code reviews) 2013/08/15 14:08:57 This header seems a bit random.
do-not-use 2013/08/15 14:11:20 Since I imported the code from XMLHttpRequest.idl,
arv (Not doing code reviews) 2013/08/15 14:23:46 Ah, that makes sense... I wish git would have pick
* Copyright (C) 2013 Samsung Electronics. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -26,9 +25,14 @@
*/
[
- NoInterfaceObject,
- ImplementedAs=DOMWindowBase64
-] interface WindowBase64 {
- [RaisesException] DOMString atob(DOMString string);
- [RaisesException] DOMString btoa(DOMString string);
+ NoInterfaceObject
+] interface XMLHttpRequestEventTarget : EventTarget {
+ // event handler attributes
haraken 2013/08/15 14:10:28 Nit: Remove this comment.
do-not-use 2013/08/15 14:47:39 Done.
+ attribute EventHandler onabort;
+ attribute EventHandler onerror;
+ attribute EventHandler onload;
+ attribute EventHandler onloadend;
+ attribute EventHandler onloadstart;
+ attribute EventHandler onprogress;
+ attribute EventHandler ontimeout;
};

Powered by Google App Engine
This is Rietveld 408576698