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

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

Issue 136593002: Move onresize from just Window to Window and elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: force rebuild with whitespace Created 6 years, 11 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/HTMLBodyElement.idl ('k') | Source/core/html/HTMLElement.idl » ('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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 attributeNameToEventNameMap.set(onendedAttr.localName(), EventTypeNames: :ended); 277 attributeNameToEventNameMap.set(onendedAttr.localName(), EventTypeNames: :ended);
278 attributeNameToEventNameMap.set(onloadeddataAttr.localName(), EventTypeN ames::loadeddata); 278 attributeNameToEventNameMap.set(onloadeddataAttr.localName(), EventTypeN ames::loadeddata);
279 attributeNameToEventNameMap.set(onloadedmetadataAttr.localName(), EventT ypeNames::loadedmetadata); 279 attributeNameToEventNameMap.set(onloadedmetadataAttr.localName(), EventT ypeNames::loadedmetadata);
280 attributeNameToEventNameMap.set(onloadstartAttr.localName(), EventTypeNa mes::loadstart); 280 attributeNameToEventNameMap.set(onloadstartAttr.localName(), EventTypeNa mes::loadstart);
281 attributeNameToEventNameMap.set(onpauseAttr.localName(), EventTypeNames: :pause); 281 attributeNameToEventNameMap.set(onpauseAttr.localName(), EventTypeNames: :pause);
282 attributeNameToEventNameMap.set(onplayAttr.localName(), EventTypeNames:: play); 282 attributeNameToEventNameMap.set(onplayAttr.localName(), EventTypeNames:: play);
283 attributeNameToEventNameMap.set(onplayingAttr.localName(), EventTypeName s::playing); 283 attributeNameToEventNameMap.set(onplayingAttr.localName(), EventTypeName s::playing);
284 attributeNameToEventNameMap.set(onprogressAttr.localName(), EventTypeNam es::progress); 284 attributeNameToEventNameMap.set(onprogressAttr.localName(), EventTypeNam es::progress);
285 attributeNameToEventNameMap.set(onratechangeAttr.localName(), EventTypeN ames::ratechange); 285 attributeNameToEventNameMap.set(onratechangeAttr.localName(), EventTypeN ames::ratechange);
286 attributeNameToEventNameMap.set(onresetAttr.localName(), EventTypeNames: :reset); 286 attributeNameToEventNameMap.set(onresetAttr.localName(), EventTypeNames: :reset);
287 attributeNameToEventNameMap.set(onresizeAttr.localName(), EventTypeNames ::resize);
287 attributeNameToEventNameMap.set(onseekedAttr.localName(), EventTypeNames ::seeked); 288 attributeNameToEventNameMap.set(onseekedAttr.localName(), EventTypeNames ::seeked);
288 attributeNameToEventNameMap.set(onseekingAttr.localName(), EventTypeName s::seeking); 289 attributeNameToEventNameMap.set(onseekingAttr.localName(), EventTypeName s::seeking);
289 attributeNameToEventNameMap.set(onselectAttr.localName(), EventTypeNames ::select); 290 attributeNameToEventNameMap.set(onselectAttr.localName(), EventTypeNames ::select);
290 attributeNameToEventNameMap.set(onshowAttr.localName(), EventTypeNames:: show); 291 attributeNameToEventNameMap.set(onshowAttr.localName(), EventTypeNames:: show);
291 attributeNameToEventNameMap.set(onstalledAttr.localName(), EventTypeName s::stalled); 292 attributeNameToEventNameMap.set(onstalledAttr.localName(), EventTypeName s::stalled);
292 attributeNameToEventNameMap.set(onsuspendAttr.localName(), EventTypeName s::suspend); 293 attributeNameToEventNameMap.set(onsuspendAttr.localName(), EventTypeName s::suspend);
293 attributeNameToEventNameMap.set(ontimeupdateAttr.localName(), EventTypeN ames::timeupdate); 294 attributeNameToEventNameMap.set(ontimeupdateAttr.localName(), EventTypeN ames::timeupdate);
294 attributeNameToEventNameMap.set(onvolumechangeAttr.localName(), EventTyp eNames::volumechange); 295 attributeNameToEventNameMap.set(onvolumechangeAttr.localName(), EventTyp eNames::volumechange);
295 attributeNameToEventNameMap.set(onwaitingAttr.localName(), EventTypeName s::waiting); 296 attributeNameToEventNameMap.set(onwaitingAttr.localName(), EventTypeName s::waiting);
296 attributeNameToEventNameMap.set(onloadAttr.localName(), EventTypeNames:: load); 297 attributeNameToEventNameMap.set(onloadAttr.localName(), EventTypeNames:: load);
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 #ifndef NDEBUG 992 #ifndef NDEBUG
992 993
993 // For use in the debugger 994 // For use in the debugger
994 void dumpInnerHTML(WebCore::HTMLElement*); 995 void dumpInnerHTML(WebCore::HTMLElement*);
995 996
996 void dumpInnerHTML(WebCore::HTMLElement* element) 997 void dumpInnerHTML(WebCore::HTMLElement* element)
997 { 998 {
998 printf("%s\n", element->innerHTML().ascii().data()); 999 printf("%s\n", element->innerHTML().ascii().data());
999 } 1000 }
1000 #endif 1001 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLBodyElement.idl ('k') | Source/core/html/HTMLElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698