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. (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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 if (!attributeNameToEventNameMap.size()) { | 264 if (!attributeNameToEventNameMap.size()) { |
265 struct AttrToEventName { | 265 struct AttrToEventName { |
266 const QualifiedName& attr; | 266 const QualifiedName& attr; |
267 const AtomicString& event; | 267 const AtomicString& event; |
268 }; | 268 }; |
269 AttrToEventName attrToEventNames[] = { | 269 AttrToEventName attrToEventNames[] = { |
270 { onabortAttr, EventTypeNames::abort }, | 270 { onabortAttr, EventTypeNames::abort }, |
271 { onanimationendAttr, EventTypeNames::animationend }, | 271 { onanimationendAttr, EventTypeNames::animationend }, |
272 { onanimationiterationAttr, EventTypeNames::animationiteration }, | 272 { onanimationiterationAttr, EventTypeNames::animationiteration }, |
273 { onanimationstartAttr, EventTypeNames::animationstart }, | 273 { onanimationstartAttr, EventTypeNames::animationstart }, |
274 { onautocompleteAttr, EventTypeNames::autocomplete }, | |
275 { onautocompleteerrorAttr, EventTypeNames::autocompleteerror }, | |
276 { onbeforecopyAttr, EventTypeNames::beforecopy }, | 274 { onbeforecopyAttr, EventTypeNames::beforecopy }, |
277 { onbeforecutAttr, EventTypeNames::beforecut }, | 275 { onbeforecutAttr, EventTypeNames::beforecut }, |
278 { onbeforepasteAttr, EventTypeNames::beforepaste }, | 276 { onbeforepasteAttr, EventTypeNames::beforepaste }, |
279 { onblurAttr, EventTypeNames::blur }, | 277 { onblurAttr, EventTypeNames::blur }, |
280 { oncancelAttr, EventTypeNames::cancel }, | 278 { oncancelAttr, EventTypeNames::cancel }, |
281 { oncanplayAttr, EventTypeNames::canplay }, | 279 { oncanplayAttr, EventTypeNames::canplay }, |
282 { oncanplaythroughAttr, EventTypeNames::canplaythrough }, | 280 { oncanplaythroughAttr, EventTypeNames::canplaythrough }, |
283 { onchangeAttr, EventTypeNames::change }, | 281 { onchangeAttr, EventTypeNames::change }, |
284 { onclickAttr, EventTypeNames::click }, | 282 { onclickAttr, EventTypeNames::click }, |
285 { oncloseAttr, EventTypeNames::close }, | 283 { oncloseAttr, EventTypeNames::close }, |
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 #ifndef NDEBUG | 1037 #ifndef NDEBUG |
1040 | 1038 |
1041 // For use in the debugger | 1039 // For use in the debugger |
1042 void dumpInnerHTML(blink::HTMLElement*); | 1040 void dumpInnerHTML(blink::HTMLElement*); |
1043 | 1041 |
1044 void dumpInnerHTML(blink::HTMLElement* element) | 1042 void dumpInnerHTML(blink::HTMLElement* element) |
1045 { | 1043 { |
1046 printf("%s\n", element->innerHTML().ascii().data()); | 1044 printf("%s\n", element->innerHTML().ascii().data()); |
1047 } | 1045 } |
1048 #endif | 1046 #endif |
OLD | NEW |