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

Unified Diff: third_party/WebKit/Source/core/html/HTMLElement.cpp

Issue 2554433003: Add onauxclick and onpointer* as content attribute (Closed)
Patch Set: Remove test failure expectation Created 4 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 | « third_party/WebKit/Source/core/html/HTMLAttributeNames.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp
index dc111efdf26c3a4e791a864020d1225e547fcfa6..0bf6ef826db5e5c44e923ec5000290a82c0bb844 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp
@@ -326,6 +326,7 @@ const AtomicString& HTMLElement::eventNameForAttributeName(
{onanimationendAttr, EventTypeNames::animationend},
{onanimationiterationAttr, EventTypeNames::animationiteration},
{onanimationstartAttr, EventTypeNames::animationstart},
+ {onauxclickAttr, EventTypeNames::auxclick},
{onbeforecopyAttr, EventTypeNames::beforecopy},
{onbeforecutAttr, EventTypeNames::beforecut},
{onbeforepasteAttr, EventTypeNames::beforepaste},
@@ -378,6 +379,14 @@ const AtomicString& HTMLElement::eventNameForAttributeName(
{onpauseAttr, EventTypeNames::pause},
{onplayAttr, EventTypeNames::play},
{onplayingAttr, EventTypeNames::playing},
+ {onpointercancelAttr, EventTypeNames::pointercancel},
+ {onpointerdownAttr, EventTypeNames::pointerdown},
+ {onpointerenterAttr, EventTypeNames::pointerenter},
+ {onpointerleaveAttr, EventTypeNames::pointerleave},
+ {onpointermoveAttr, EventTypeNames::pointermove},
+ {onpointeroutAttr, EventTypeNames::pointerout},
+ {onpointeroverAttr, EventTypeNames::pointerover},
+ {onpointerupAttr, EventTypeNames::pointerup},
{onprogressAttr, EventTypeNames::progress},
{onratechangeAttr, EventTypeNames::ratechange},
{onresetAttr, EventTypeNames::reset},
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAttributeNames.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698