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

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

Issue 22859012: Add support for DOM Level 3 WheelEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename prefixedType() to legacyType() Created 7 years, 4 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/core/html/HTMLAttributeNames.in ('k') | Source/core/html/shadow/SpinButtonElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLElement.cpp
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp
index 4e19dd02b72a07cbd890c334c913cfc35eccb67d..8c4504225b1d460f729183667f41aec74373923f 100644
--- a/Source/core/html/HTMLElement.cpp
+++ b/Source/core/html/HTMLElement.cpp
@@ -212,6 +212,7 @@ AtomicString HTMLElement::eventNameForAttributeName(const QualifiedName& attrNam
attributeNameToEventNameMap.set(onmouseoverAttr.localName(), eventNames().mouseoverEvent);
attributeNameToEventNameMap.set(onmouseupAttr.localName(), eventNames().mouseupEvent);
attributeNameToEventNameMap.set(onmousewheelAttr.localName(), eventNames().mousewheelEvent);
+ attributeNameToEventNameMap.set(onwheelAttr.localName(), eventNames().wheelEvent);
attributeNameToEventNameMap.set(onfocusAttr.localName(), eventNames().focusEvent);
attributeNameToEventNameMap.set(onfocusinAttr.localName(), eventNames().focusinEvent);
attributeNameToEventNameMap.set(onfocusoutAttr.localName(), eventNames().focusoutEvent);
« no previous file with comments | « Source/core/html/HTMLAttributeNames.in ('k') | Source/core/html/shadow/SpinButtonElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698