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

Unified Diff: Source/core/html/MediaKeyEvent.h

Issue 799733002: Use event init dictionaries in core/{css,html} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/core/css/MediaQueryListEventInit.idl ('k') | Source/core/html/MediaKeyEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/MediaKeyEvent.h
diff --git a/Source/core/html/MediaKeyEvent.h b/Source/core/html/MediaKeyEvent.h
index cb697192ec2f95a3517ff21377c6791811c96538..f4a7fbc2a831f7e6427e7eed9a14ac0d37a6c662 100644
--- a/Source/core/html/MediaKeyEvent.h
+++ b/Source/core/html/MediaKeyEvent.h
@@ -29,21 +29,10 @@
#include "core/dom/DOMTypedArray.h"
#include "core/events/Event.h"
#include "core/html/MediaKeyError.h"
+#include "core/html/MediaKeyEventInit.h"
namespace blink {
-struct MediaKeyEventInit : public EventInit {
- MediaKeyEventInit();
-
- String keySystem;
- String sessionId;
- RefPtr<DOMUint8Array> initData;
- RefPtr<DOMUint8Array> message;
- String defaultURL;
- RefPtrWillBeMember<MediaKeyError> errorCode;
- unsigned short systemCode;
-};
-
class MediaKeyEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
« no previous file with comments | « Source/core/css/MediaQueryListEventInit.idl ('k') | Source/core/html/MediaKeyEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698