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

Side by Side Diff: Source/core/dom/Element.h

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/dom/Document.idl ('k') | Source/core/dom/Element.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 * (C) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 // WebKit extensions 222 // WebKit extensions
223 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut); 223 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut);
224 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut); 224 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut);
225 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy); 225 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy);
226 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy); 226 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy);
227 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste); 227 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste);
228 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste); 228 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste);
229 DEFINE_ATTRIBUTE_EVENT_LISTENER(reset); 229 DEFINE_ATTRIBUTE_EVENT_LISTENER(reset);
230 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); 230 DEFINE_ATTRIBUTE_EVENT_LISTENER(search);
231 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); 231 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart);
232 #if ENABLE(TOUCH_EVENTS)
232 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart); 233 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart);
233 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove); 234 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove);
234 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); 235 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend);
235 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); 236 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel);
237 #endif
236 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); 238 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange);
237 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror); 239 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror);
238 240
239 bool hasAttribute(const QualifiedName&) const; 241 bool hasAttribute(const QualifiedName&) const;
240 const AtomicString& getAttribute(const QualifiedName&) const; 242 const AtomicString& getAttribute(const QualifiedName&) const;
241 void setAttribute(const QualifiedName&, const AtomicString& value); 243 void setAttribute(const QualifiedName&, const AtomicString& value);
242 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString& value); 244 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString& value);
243 void removeAttribute(const QualifiedName&); 245 void removeAttribute(const QualifiedName&);
244 246
245 // Typed getters and setters for language bindings. 247 // Typed getters and setters for language bindings.
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 1019
1018 inline const Attribute* ElementData::attributeItem(unsigned index) const 1020 inline const Attribute* ElementData::attributeItem(unsigned index) const
1019 { 1021 {
1020 RELEASE_ASSERT(index < length()); 1022 RELEASE_ASSERT(index < length());
1021 return attributeBase() + index; 1023 return attributeBase() + index;
1022 } 1024 }
1023 1025
1024 } // namespace 1026 } // namespace
1025 1027
1026 #endif 1028 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Document.idl ('k') | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698