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

Side by Side Diff: Source/core/html/HTMLElement.cpp

Issue 252373002: Add ontoggle to GlobalEventHandlers and HTML attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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') | 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, 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 attributeNameToEventNameMap.set(onscrollAttr.localName(), EventTypeNames ::scroll); 274 attributeNameToEventNameMap.set(onscrollAttr.localName(), EventTypeNames ::scroll);
275 attributeNameToEventNameMap.set(onseekedAttr.localName(), EventTypeNames ::seeked); 275 attributeNameToEventNameMap.set(onseekedAttr.localName(), EventTypeNames ::seeked);
276 attributeNameToEventNameMap.set(onseekingAttr.localName(), EventTypeName s::seeking); 276 attributeNameToEventNameMap.set(onseekingAttr.localName(), EventTypeName s::seeking);
277 attributeNameToEventNameMap.set(onselectAttr.localName(), EventTypeNames ::select); 277 attributeNameToEventNameMap.set(onselectAttr.localName(), EventTypeNames ::select);
278 attributeNameToEventNameMap.set(onselectstartAttr.localName(), EventType Names::selectstart); 278 attributeNameToEventNameMap.set(onselectstartAttr.localName(), EventType Names::selectstart);
279 attributeNameToEventNameMap.set(onshowAttr.localName(), EventTypeNames:: show); 279 attributeNameToEventNameMap.set(onshowAttr.localName(), EventTypeNames:: show);
280 attributeNameToEventNameMap.set(onstalledAttr.localName(), EventTypeName s::stalled); 280 attributeNameToEventNameMap.set(onstalledAttr.localName(), EventTypeName s::stalled);
281 attributeNameToEventNameMap.set(onsubmitAttr.localName(), EventTypeNames ::submit); 281 attributeNameToEventNameMap.set(onsubmitAttr.localName(), EventTypeNames ::submit);
282 attributeNameToEventNameMap.set(onsuspendAttr.localName(), EventTypeName s::suspend); 282 attributeNameToEventNameMap.set(onsuspendAttr.localName(), EventTypeName s::suspend);
283 attributeNameToEventNameMap.set(ontimeupdateAttr.localName(), EventTypeN ames::timeupdate); 283 attributeNameToEventNameMap.set(ontimeupdateAttr.localName(), EventTypeN ames::timeupdate);
284 attributeNameToEventNameMap.set(ontoggleAttr.localName(), EventTypeNames ::toggle);
284 attributeNameToEventNameMap.set(ontouchcancelAttr.localName(), EventType Names::touchcancel); 285 attributeNameToEventNameMap.set(ontouchcancelAttr.localName(), EventType Names::touchcancel);
285 attributeNameToEventNameMap.set(ontouchendAttr.localName(), EventTypeNam es::touchend); 286 attributeNameToEventNameMap.set(ontouchendAttr.localName(), EventTypeNam es::touchend);
286 attributeNameToEventNameMap.set(ontouchmoveAttr.localName(), EventTypeNa mes::touchmove); 287 attributeNameToEventNameMap.set(ontouchmoveAttr.localName(), EventTypeNa mes::touchmove);
287 attributeNameToEventNameMap.set(ontouchstartAttr.localName(), EventTypeN ames::touchstart); 288 attributeNameToEventNameMap.set(ontouchstartAttr.localName(), EventTypeN ames::touchstart);
288 attributeNameToEventNameMap.set(ontransitionendAttr.localName(), EventTy peNames::webkitTransitionEnd); 289 attributeNameToEventNameMap.set(ontransitionendAttr.localName(), EventTy peNames::webkitTransitionEnd);
289 attributeNameToEventNameMap.set(onvolumechangeAttr.localName(), EventTyp eNames::volumechange); 290 attributeNameToEventNameMap.set(onvolumechangeAttr.localName(), EventTyp eNames::volumechange);
290 attributeNameToEventNameMap.set(onwaitingAttr.localName(), EventTypeName s::waiting); 291 attributeNameToEventNameMap.set(onwaitingAttr.localName(), EventTypeName s::waiting);
291 attributeNameToEventNameMap.set(onwebkitanimationendAttr.localName(), Ev entTypeNames::webkitAnimationEnd); 292 attributeNameToEventNameMap.set(onwebkitanimationendAttr.localName(), Ev entTypeNames::webkitAnimationEnd);
292 attributeNameToEventNameMap.set(onwebkitanimationiterationAttr.localName (), EventTypeNames::webkitAnimationIteration); 293 attributeNameToEventNameMap.set(onwebkitanimationiterationAttr.localName (), EventTypeNames::webkitAnimationIteration);
293 attributeNameToEventNameMap.set(onwebkitanimationstartAttr.localName(), EventTypeNames::webkitAnimationStart); 294 attributeNameToEventNameMap.set(onwebkitanimationstartAttr.localName(), EventTypeNames::webkitAnimationStart);
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 #ifndef NDEBUG 994 #ifndef NDEBUG
994 995
995 // For use in the debugger 996 // For use in the debugger
996 void dumpInnerHTML(WebCore::HTMLElement*); 997 void dumpInnerHTML(WebCore::HTMLElement*);
997 998
998 void dumpInnerHTML(WebCore::HTMLElement* element) 999 void dumpInnerHTML(WebCore::HTMLElement* element)
999 { 1000 {
1000 printf("%s\n", element->innerHTML().ascii().data()); 1001 printf("%s\n", element->innerHTML().ascii().data());
1001 } 1002 }
1002 #endif 1003 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLAttributeNames.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698