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

Unified Diff: third_party/WebKit/Source/core/events/Event.idl

Issue 1577163003: Add deepPath (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix layout test results Created 4 years, 11 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: third_party/WebKit/Source/core/events/Event.idl
diff --git a/third_party/WebKit/Source/core/events/Event.idl b/third_party/WebKit/Source/core/events/Event.idl
index 1db19f6f5c94f071ff64efa1670944e9804eb507..6dbfbaf9577ef258e180b9607224f3cf33b03898 100644
--- a/third_party/WebKit/Source/core/events/Event.idl
+++ b/third_party/WebKit/Source/core/events/Event.idl
@@ -46,10 +46,10 @@
[RuntimeEnabled=TrustedEvents, Unforgeable] readonly attribute boolean isTrusted;
// TODO(majidvp): At the moment the actual return value type can either
- // be:
kochi 2016/01/13 09:03:28 Probably your editor trimmed the line-end whitespa
yuzuchan 2016/01/15 04:18:31 Done. I changed the editor settings too. On 2016/0
+ // be:
// - DOMTimeStamp (i.e. long long): legacy type
- // - DOMHighResTimeStamp (i.e. double): HighResEventTimeStamp REF is
- // enabled
kochi 2016/01/13 09:03:28 Ditto
yuzuchan 2016/01/15 04:18:31 Done.
+ // - DOMHighResTimeStamp (i.e. double): HighResEventTimeStamp REF is
+ // enabled
// Below IDL definition uses DOMHighResTimeStamp because all DOMTimeStamp
// values can be represented in double type without any loss of precision.
// Once the feature is enabled by default the return value type will always
@@ -64,7 +64,7 @@
// Shadow DOM
// https://w3c.github.io/webcomponents/spec/shadow/#extensions-to-event-interface
[MeasureAs=EventPath, CallWith=ScriptState] readonly attribute EventTarget[] path;
-
+ [RuntimeEnabled=ShadowDOMV1, ImplementedAs=path, MeasureAs=EventDeepPath, CallWith=ScriptState] readonly attribute EventTarget[] deepPath;
// Non-standard APIs
const unsigned short MOUSEDOWN = 1;
const unsigned short MOUSEUP = 2;

Powered by Google App Engine
This is Rietveld 408576698