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

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

Issue 14296003: Remove TOUCH_EVENTS and TOUCH_EVENT_TRACKING compile-time flags. (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
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // WebKit extensions 218 // WebKit extensions
219 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut); 219 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut);
220 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut); 220 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut);
221 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy); 221 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy);
222 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy); 222 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy);
223 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste); 223 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste);
224 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste); 224 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste);
225 DEFINE_ATTRIBUTE_EVENT_LISTENER(reset); 225 DEFINE_ATTRIBUTE_EVENT_LISTENER(reset);
226 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); 226 DEFINE_ATTRIBUTE_EVENT_LISTENER(search);
227 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); 227 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart);
228 #if ENABLE(TOUCH_EVENTS)
229 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart); 228 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart);
230 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove); 229 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove);
231 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend); 230 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend);
232 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel); 231 DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel);
233 #endif
234 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); 232 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange);
235 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror); 233 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror);
236 234
237 bool hasAttribute(const QualifiedName&) const; 235 bool hasAttribute(const QualifiedName&) const;
238 const AtomicString& getAttribute(const QualifiedName&) const; 236 const AtomicString& getAttribute(const QualifiedName&) const;
239 void setAttribute(const QualifiedName&, const AtomicString& value); 237 void setAttribute(const QualifiedName&, const AtomicString& value);
240 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString& value); 238 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString& value);
241 void removeAttribute(const QualifiedName&); 239 void removeAttribute(const QualifiedName&);
242 240
243 // Typed getters and setters for language bindings. 241 // Typed getters and setters for language bindings.
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 { 1003 {
1006 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); 1004 ASSERT_WITH_SECURITY_IMPLICATION(index < length());
1007 if (m_isUnique) 1005 if (m_isUnique)
1008 return &static_cast<const UniqueElementData*>(this)->m_attributeVector.a t(index); 1006 return &static_cast<const UniqueElementData*>(this)->m_attributeVector.a t(index);
1009 return &static_cast<const ShareableElementData*>(this)->m_attributeArray[ind ex]; 1007 return &static_cast<const ShareableElementData*>(this)->m_attributeArray[ind ex];
1010 } 1008 }
1011 1009
1012 } // namespace 1010 } // namespace
1013 1011
1014 #endif 1012 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698