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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAttributeNames.in ('k') | no next file » | 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-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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 if (!attributeNameToEventNameMap.size()) { 319 if (!attributeNameToEventNameMap.size()) {
320 struct AttrToEventName { 320 struct AttrToEventName {
321 const QualifiedName& attr; 321 const QualifiedName& attr;
322 const AtomicString& event; 322 const AtomicString& event;
323 }; 323 };
324 AttrToEventName attrToEventNames[] = { 324 AttrToEventName attrToEventNames[] = {
325 {onabortAttr, EventTypeNames::abort}, 325 {onabortAttr, EventTypeNames::abort},
326 {onanimationendAttr, EventTypeNames::animationend}, 326 {onanimationendAttr, EventTypeNames::animationend},
327 {onanimationiterationAttr, EventTypeNames::animationiteration}, 327 {onanimationiterationAttr, EventTypeNames::animationiteration},
328 {onanimationstartAttr, EventTypeNames::animationstart}, 328 {onanimationstartAttr, EventTypeNames::animationstart},
329 {onauxclickAttr, EventTypeNames::auxclick},
329 {onbeforecopyAttr, EventTypeNames::beforecopy}, 330 {onbeforecopyAttr, EventTypeNames::beforecopy},
330 {onbeforecutAttr, EventTypeNames::beforecut}, 331 {onbeforecutAttr, EventTypeNames::beforecut},
331 {onbeforepasteAttr, EventTypeNames::beforepaste}, 332 {onbeforepasteAttr, EventTypeNames::beforepaste},
332 {onblurAttr, EventTypeNames::blur}, 333 {onblurAttr, EventTypeNames::blur},
333 {oncancelAttr, EventTypeNames::cancel}, 334 {oncancelAttr, EventTypeNames::cancel},
334 {oncanplayAttr, EventTypeNames::canplay}, 335 {oncanplayAttr, EventTypeNames::canplay},
335 {oncanplaythroughAttr, EventTypeNames::canplaythrough}, 336 {oncanplaythroughAttr, EventTypeNames::canplaythrough},
336 {onchangeAttr, EventTypeNames::change}, 337 {onchangeAttr, EventTypeNames::change},
337 {onclickAttr, EventTypeNames::click}, 338 {onclickAttr, EventTypeNames::click},
338 {oncloseAttr, EventTypeNames::close}, 339 {oncloseAttr, EventTypeNames::close},
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 {onmouseleaveAttr, EventTypeNames::mouseleave}, 372 {onmouseleaveAttr, EventTypeNames::mouseleave},
372 {onmousemoveAttr, EventTypeNames::mousemove}, 373 {onmousemoveAttr, EventTypeNames::mousemove},
373 {onmouseoutAttr, EventTypeNames::mouseout}, 374 {onmouseoutAttr, EventTypeNames::mouseout},
374 {onmouseoverAttr, EventTypeNames::mouseover}, 375 {onmouseoverAttr, EventTypeNames::mouseover},
375 {onmouseupAttr, EventTypeNames::mouseup}, 376 {onmouseupAttr, EventTypeNames::mouseup},
376 {onmousewheelAttr, EventTypeNames::mousewheel}, 377 {onmousewheelAttr, EventTypeNames::mousewheel},
377 {onpasteAttr, EventTypeNames::paste}, 378 {onpasteAttr, EventTypeNames::paste},
378 {onpauseAttr, EventTypeNames::pause}, 379 {onpauseAttr, EventTypeNames::pause},
379 {onplayAttr, EventTypeNames::play}, 380 {onplayAttr, EventTypeNames::play},
380 {onplayingAttr, EventTypeNames::playing}, 381 {onplayingAttr, EventTypeNames::playing},
382 {onpointercancelAttr, EventTypeNames::pointercancel},
383 {onpointerdownAttr, EventTypeNames::pointerdown},
384 {onpointerenterAttr, EventTypeNames::pointerenter},
385 {onpointerleaveAttr, EventTypeNames::pointerleave},
386 {onpointermoveAttr, EventTypeNames::pointermove},
387 {onpointeroutAttr, EventTypeNames::pointerout},
388 {onpointeroverAttr, EventTypeNames::pointerover},
389 {onpointerupAttr, EventTypeNames::pointerup},
381 {onprogressAttr, EventTypeNames::progress}, 390 {onprogressAttr, EventTypeNames::progress},
382 {onratechangeAttr, EventTypeNames::ratechange}, 391 {onratechangeAttr, EventTypeNames::ratechange},
383 {onresetAttr, EventTypeNames::reset}, 392 {onresetAttr, EventTypeNames::reset},
384 {onresizeAttr, EventTypeNames::resize}, 393 {onresizeAttr, EventTypeNames::resize},
385 {onscrollAttr, EventTypeNames::scroll}, 394 {onscrollAttr, EventTypeNames::scroll},
386 {onseekedAttr, EventTypeNames::seeked}, 395 {onseekedAttr, EventTypeNames::seeked},
387 {onseekingAttr, EventTypeNames::seeking}, 396 {onseekingAttr, EventTypeNames::seeking},
388 {onselectAttr, EventTypeNames::select}, 397 {onselectAttr, EventTypeNames::select},
389 {onselectstartAttr, EventTypeNames::selectstart}, 398 {onselectstartAttr, EventTypeNames::selectstart},
390 {onshowAttr, EventTypeNames::show}, 399 {onshowAttr, EventTypeNames::show},
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 1193
1185 #ifndef NDEBUG 1194 #ifndef NDEBUG
1186 1195
1187 // For use in the debugger 1196 // For use in the debugger
1188 void dumpInnerHTML(blink::HTMLElement*); 1197 void dumpInnerHTML(blink::HTMLElement*);
1189 1198
1190 void dumpInnerHTML(blink::HTMLElement* element) { 1199 void dumpInnerHTML(blink::HTMLElement* element) {
1191 printf("%s\n", element->innerHTML().ascii().data()); 1200 printf("%s\n", element->innerHTML().ascii().data());
1192 } 1201 }
1193 #endif 1202 #endif
OLDNEW
« 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