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

Unified Diff: tools/dom/scripts/htmleventgenerator.py

Issue 1775923002: Chrome moved clipboardData from Event to ClipboardEvent for security clipboard can only be accessed… (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 | « tests/compiler/dart2js/analyze_api_test.dart ('k') | tools/dom/src/dart2js_KeyEvent.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/htmleventgenerator.py
diff --git a/tools/dom/scripts/htmleventgenerator.py b/tools/dom/scripts/htmleventgenerator.py
index 372ecca00af35eaac5bd9f1cc8e72e6406f17ca3..6e83fd3f1b829fb5bec95c2e5f96069548267395 100644
--- a/tools/dom/scripts/htmleventgenerator.py
+++ b/tools/dom/scripts/htmleventgenerator.py
@@ -43,8 +43,8 @@ _html_event_types = monitored.Dict('htmleventgenerator._html_event_types', {
'*.change': ('change', 'Event'),
'*.click': ('click', 'MouseEvent'),
'*.contextmenu': ('contextMenu', 'MouseEvent'),
- '*.copy': ('copy', 'Event'),
- '*.cut': ('cut', 'Event'),
+ '*.copy': ('copy', 'ClipboardEvent'),
+ '*.cut': ('cut', 'ClipboardEvent'),
'*.dblclick': ('doubleClick', 'Event'),
'*.drag': ('drag', 'MouseEvent'),
'*.dragend': ('dragEnd', 'MouseEvent'),
@@ -79,7 +79,7 @@ _html_event_types = monitored.Dict('htmleventgenerator._html_event_types', {
'*.mousewheel': ('mouseWheel', 'WheelEvent'),
'*.offline': ('offline', 'Event'),
'*.online': ('online', 'Event'),
- '*.paste': ('paste', 'Event'),
+ '*.paste': ('paste', 'ClipboardEvent'),
'*.pause': ('pause', 'Event'),
'*.play': ('play', 'Event'),
'*.playing': ('playing', 'Event'),
« no previous file with comments | « tests/compiler/dart2js/analyze_api_test.dart ('k') | tools/dom/src/dart2js_KeyEvent.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698