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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLAttributeNames.in ('k') | Source/core/html/shadow/SpinButtonElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. 6 * Copyright (C) 2011 Motorola Mobility. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 attributeNameToEventNameMap.set(oncontextmenuAttr.localName(), eventName s().contextmenuEvent); 205 attributeNameToEventNameMap.set(oncontextmenuAttr.localName(), eventName s().contextmenuEvent);
206 attributeNameToEventNameMap.set(ondblclickAttr.localName(), eventNames() .dblclickEvent); 206 attributeNameToEventNameMap.set(ondblclickAttr.localName(), eventNames() .dblclickEvent);
207 attributeNameToEventNameMap.set(onmousedownAttr.localName(), eventNames( ).mousedownEvent); 207 attributeNameToEventNameMap.set(onmousedownAttr.localName(), eventNames( ).mousedownEvent);
208 attributeNameToEventNameMap.set(onmouseenterAttr.localName(), eventNames ().mouseenterEvent); 208 attributeNameToEventNameMap.set(onmouseenterAttr.localName(), eventNames ().mouseenterEvent);
209 attributeNameToEventNameMap.set(onmouseleaveAttr.localName(), eventNames ().mouseleaveEvent); 209 attributeNameToEventNameMap.set(onmouseleaveAttr.localName(), eventNames ().mouseleaveEvent);
210 attributeNameToEventNameMap.set(onmousemoveAttr.localName(), eventNames( ).mousemoveEvent); 210 attributeNameToEventNameMap.set(onmousemoveAttr.localName(), eventNames( ).mousemoveEvent);
211 attributeNameToEventNameMap.set(onmouseoutAttr.localName(), eventNames() .mouseoutEvent); 211 attributeNameToEventNameMap.set(onmouseoutAttr.localName(), eventNames() .mouseoutEvent);
212 attributeNameToEventNameMap.set(onmouseoverAttr.localName(), eventNames( ).mouseoverEvent); 212 attributeNameToEventNameMap.set(onmouseoverAttr.localName(), eventNames( ).mouseoverEvent);
213 attributeNameToEventNameMap.set(onmouseupAttr.localName(), eventNames(). mouseupEvent); 213 attributeNameToEventNameMap.set(onmouseupAttr.localName(), eventNames(). mouseupEvent);
214 attributeNameToEventNameMap.set(onmousewheelAttr.localName(), eventNames ().mousewheelEvent); 214 attributeNameToEventNameMap.set(onmousewheelAttr.localName(), eventNames ().mousewheelEvent);
215 attributeNameToEventNameMap.set(onwheelAttr.localName(), eventNames().wh eelEvent);
215 attributeNameToEventNameMap.set(onfocusAttr.localName(), eventNames().fo cusEvent); 216 attributeNameToEventNameMap.set(onfocusAttr.localName(), eventNames().fo cusEvent);
216 attributeNameToEventNameMap.set(onfocusinAttr.localName(), eventNames(). focusinEvent); 217 attributeNameToEventNameMap.set(onfocusinAttr.localName(), eventNames(). focusinEvent);
217 attributeNameToEventNameMap.set(onfocusoutAttr.localName(), eventNames() .focusoutEvent); 218 attributeNameToEventNameMap.set(onfocusoutAttr.localName(), eventNames() .focusoutEvent);
218 attributeNameToEventNameMap.set(onblurAttr.localName(), eventNames().blu rEvent); 219 attributeNameToEventNameMap.set(onblurAttr.localName(), eventNames().blu rEvent);
219 attributeNameToEventNameMap.set(onkeydownAttr.localName(), eventNames(). keydownEvent); 220 attributeNameToEventNameMap.set(onkeydownAttr.localName(), eventNames(). keydownEvent);
220 attributeNameToEventNameMap.set(onkeypressAttr.localName(), eventNames() .keypressEvent); 221 attributeNameToEventNameMap.set(onkeypressAttr.localName(), eventNames() .keypressEvent);
221 attributeNameToEventNameMap.set(onkeyupAttr.localName(), eventNames().ke yupEvent); 222 attributeNameToEventNameMap.set(onkeyupAttr.localName(), eventNames().ke yupEvent);
222 attributeNameToEventNameMap.set(onscrollAttr.localName(), eventNames().s crollEvent); 223 attributeNameToEventNameMap.set(onscrollAttr.localName(), eventNames().s crollEvent);
223 attributeNameToEventNameMap.set(onbeforecutAttr.localName(), eventNames( ).beforecutEvent); 224 attributeNameToEventNameMap.set(onbeforecutAttr.localName(), eventNames( ).beforecutEvent);
224 attributeNameToEventNameMap.set(oncutAttr.localName(), eventNames().cutE vent); 225 attributeNameToEventNameMap.set(oncutAttr.localName(), eventNames().cutE vent);
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 #ifndef NDEBUG 1098 #ifndef NDEBUG
1098 1099
1099 // For use in the debugger 1100 // For use in the debugger
1100 void dumpInnerHTML(WebCore::HTMLElement*); 1101 void dumpInnerHTML(WebCore::HTMLElement*);
1101 1102
1102 void dumpInnerHTML(WebCore::HTMLElement* element) 1103 void dumpInnerHTML(WebCore::HTMLElement* element)
1103 { 1104 {
1104 printf("%s\n", element->innerHTML().ascii().data()); 1105 printf("%s\n", element->innerHTML().ascii().data());
1105 } 1106 }
1106 #endif 1107 #endif
OLDNEW
« 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