| OLD | NEW |
| 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-2008, 2013, 2014 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004-2008, 2013, 2014 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. | 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. |
| 6 * (http://www.torchmobile.com/) | 6 * (http://www.torchmobile.com/) |
| 7 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 7 * Copyright (C) 2011 Motorola Mobility. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 if (!attributeNameToEventNameMap.size()) { | 318 if (!attributeNameToEventNameMap.size()) { |
| 319 struct AttrToEventName { | 319 struct AttrToEventName { |
| 320 const QualifiedName& attr; | 320 const QualifiedName& attr; |
| 321 const AtomicString& event; | 321 const AtomicString& event; |
| 322 }; | 322 }; |
| 323 AttrToEventName attrToEventNames[] = { | 323 AttrToEventName attrToEventNames[] = { |
| 324 {onabortAttr, EventTypeNames::abort}, | 324 {onabortAttr, EventTypeNames::abort}, |
| 325 {onanimationendAttr, EventTypeNames::animationend}, | 325 {onanimationendAttr, EventTypeNames::animationend}, |
| 326 {onanimationiterationAttr, EventTypeNames::animationiteration}, | 326 {onanimationiterationAttr, EventTypeNames::animationiteration}, |
| 327 {onanimationstartAttr, EventTypeNames::animationstart}, | 327 {onanimationstartAttr, EventTypeNames::animationstart}, |
| 328 {onauxclickAttr, EventTypeNames::auxclick}, |
| 328 {onbeforecopyAttr, EventTypeNames::beforecopy}, | 329 {onbeforecopyAttr, EventTypeNames::beforecopy}, |
| 329 {onbeforecutAttr, EventTypeNames::beforecut}, | 330 {onbeforecutAttr, EventTypeNames::beforecut}, |
| 330 {onbeforepasteAttr, EventTypeNames::beforepaste}, | 331 {onbeforepasteAttr, EventTypeNames::beforepaste}, |
| 331 {onblurAttr, EventTypeNames::blur}, | 332 {onblurAttr, EventTypeNames::blur}, |
| 332 {oncancelAttr, EventTypeNames::cancel}, | 333 {oncancelAttr, EventTypeNames::cancel}, |
| 333 {oncanplayAttr, EventTypeNames::canplay}, | 334 {oncanplayAttr, EventTypeNames::canplay}, |
| 334 {oncanplaythroughAttr, EventTypeNames::canplaythrough}, | 335 {oncanplaythroughAttr, EventTypeNames::canplaythrough}, |
| 335 {onchangeAttr, EventTypeNames::change}, | 336 {onchangeAttr, EventTypeNames::change}, |
| 336 {onclickAttr, EventTypeNames::click}, | 337 {onclickAttr, EventTypeNames::click}, |
| 337 {oncloseAttr, EventTypeNames::close}, | 338 {oncloseAttr, EventTypeNames::close}, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 {onmouseleaveAttr, EventTypeNames::mouseleave}, | 371 {onmouseleaveAttr, EventTypeNames::mouseleave}, |
| 371 {onmousemoveAttr, EventTypeNames::mousemove}, | 372 {onmousemoveAttr, EventTypeNames::mousemove}, |
| 372 {onmouseoutAttr, EventTypeNames::mouseout}, | 373 {onmouseoutAttr, EventTypeNames::mouseout}, |
| 373 {onmouseoverAttr, EventTypeNames::mouseover}, | 374 {onmouseoverAttr, EventTypeNames::mouseover}, |
| 374 {onmouseupAttr, EventTypeNames::mouseup}, | 375 {onmouseupAttr, EventTypeNames::mouseup}, |
| 375 {onmousewheelAttr, EventTypeNames::mousewheel}, | 376 {onmousewheelAttr, EventTypeNames::mousewheel}, |
| 376 {onpasteAttr, EventTypeNames::paste}, | 377 {onpasteAttr, EventTypeNames::paste}, |
| 377 {onpauseAttr, EventTypeNames::pause}, | 378 {onpauseAttr, EventTypeNames::pause}, |
| 378 {onplayAttr, EventTypeNames::play}, | 379 {onplayAttr, EventTypeNames::play}, |
| 379 {onplayingAttr, EventTypeNames::playing}, | 380 {onplayingAttr, EventTypeNames::playing}, |
| 381 {onpointercancelAttr, EventTypeNames::pointercancel}, |
| 382 {onpointerdownAttr, EventTypeNames::pointerdown}, |
| 383 {onpointerenterAttr, EventTypeNames::pointerenter}, |
| 384 {onpointerleaveAttr, EventTypeNames::pointerleave}, |
| 385 {onpointermoveAttr, EventTypeNames::pointermove}, |
| 386 {onpointeroutAttr, EventTypeNames::pointerout}, |
| 387 {onpointeroverAttr, EventTypeNames::pointerover}, |
| 388 {onpointerupAttr, EventTypeNames::pointerup}, |
| 380 {onprogressAttr, EventTypeNames::progress}, | 389 {onprogressAttr, EventTypeNames::progress}, |
| 381 {onratechangeAttr, EventTypeNames::ratechange}, | 390 {onratechangeAttr, EventTypeNames::ratechange}, |
| 382 {onresetAttr, EventTypeNames::reset}, | 391 {onresetAttr, EventTypeNames::reset}, |
| 383 {onresizeAttr, EventTypeNames::resize}, | 392 {onresizeAttr, EventTypeNames::resize}, |
| 384 {onscrollAttr, EventTypeNames::scroll}, | 393 {onscrollAttr, EventTypeNames::scroll}, |
| 385 {onseekedAttr, EventTypeNames::seeked}, | 394 {onseekedAttr, EventTypeNames::seeked}, |
| 386 {onseekingAttr, EventTypeNames::seeking}, | 395 {onseekingAttr, EventTypeNames::seeking}, |
| 387 {onselectAttr, EventTypeNames::select}, | 396 {onselectAttr, EventTypeNames::select}, |
| 388 {onselectstartAttr, EventTypeNames::selectstart}, | 397 {onselectstartAttr, EventTypeNames::selectstart}, |
| 389 {onshowAttr, EventTypeNames::show}, | 398 {onshowAttr, EventTypeNames::show}, |
| (...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1202 | 1211 |
| 1203 #ifndef NDEBUG | 1212 #ifndef NDEBUG |
| 1204 | 1213 |
| 1205 // For use in the debugger | 1214 // For use in the debugger |
| 1206 void dumpInnerHTML(blink::HTMLElement*); | 1215 void dumpInnerHTML(blink::HTMLElement*); |
| 1207 | 1216 |
| 1208 void dumpInnerHTML(blink::HTMLElement* element) { | 1217 void dumpInnerHTML(blink::HTMLElement* element) { |
| 1209 printf("%s\n", element->innerHTML().ascii().data()); | 1218 printf("%s\n", element->innerHTML().ascii().data()); |
| 1210 } | 1219 } |
| 1211 #endif | 1220 #endif |
| OLD | NEW |