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

Unified Diff: Source/modules/indexeddb/IDBRequest.idl

Issue 18778002: Inherit EventTarget interface instead of duplicating its code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 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 | « Source/modules/indexeddb/IDBOpenDBRequest.idl ('k') | Source/modules/indexeddb/IDBTransaction.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBRequest.idl
diff --git a/Source/modules/indexeddb/IDBRequest.idl b/Source/modules/indexeddb/IDBRequest.idl
index b0b0bdb15174ff04b068786b3ec96ef83ac80e66..e8f87b86cae6d615a5de86d22e8cd4c020670db6 100644
--- a/Source/modules/indexeddb/IDBRequest.idl
+++ b/Source/modules/indexeddb/IDBRequest.idl
@@ -28,9 +28,8 @@
*/
[
- ActiveDOMObject,
- EventTarget
-] interface IDBRequest {
+ ActiveDOMObject
+] interface IDBRequest : EventTarget {
[GetterRaisesException] readonly attribute IDBAny result;
[GetterRaisesException] readonly attribute DOMError error;
@@ -43,13 +42,4 @@
// Events
attribute EventListener onsuccess;
attribute EventListener onerror;
-
- // EventTarget interface
- void addEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- void removeEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- [RaisesException] boolean dispatchEvent(Event evt);
};
« no previous file with comments | « Source/modules/indexeddb/IDBOpenDBRequest.idl ('k') | Source/modules/indexeddb/IDBTransaction.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698