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

Unified Diff: Source/modules/indexeddb/IDBDatabase.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/filesystem/FileWriter.idl ('k') | Source/modules/indexeddb/IDBOpenDBRequest.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBDatabase.idl
diff --git a/Source/modules/indexeddb/IDBDatabase.idl b/Source/modules/indexeddb/IDBDatabase.idl
index c6a8e289e8af65382b18fb7b42599a0f5880df86..8e87f800ef79009f9a5698c69cf4b72e59d950ef 100644
--- a/Source/modules/indexeddb/IDBDatabase.idl
+++ b/Source/modules/indexeddb/IDBDatabase.idl
@@ -25,9 +25,8 @@
*/
[
- ActiveDOMObject,
- EventTarget
-] interface IDBDatabase {
+ ActiveDOMObject
+] interface IDBDatabase : EventTarget {
readonly attribute DOMString name;
readonly attribute IDBAny version;
readonly attribute DOMStringList objectStoreNames;
@@ -43,13 +42,4 @@
[CallWith=ScriptExecutionContext, RaisesException] IDBTransaction transaction(DOMString storeName, [Default=NullString] optional DOMString mode);
void close();
-
- // 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/filesystem/FileWriter.idl ('k') | Source/modules/indexeddb/IDBOpenDBRequest.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698