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

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

Issue 1774913004: Firing got/lost pointer capture events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Variable rename Created 4 years, 9 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
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-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 DEFINE_WRAPPERTYPEINFO(); 114 DEFINE_WRAPPERTYPEINFO();
115 public: 115 public:
116 static PassRefPtrWillBeRawPtr<Element> create(const QualifiedName&, Document *); 116 static PassRefPtrWillBeRawPtr<Element> create(const QualifiedName&, Document *);
117 ~Element() override; 117 ~Element() override;
118 118
119 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy); 119 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy);
120 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut); 120 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut);
121 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste); 121 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste);
122 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy); 122 DEFINE_ATTRIBUTE_EVENT_LISTENER(copy);
123 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut); 123 DEFINE_ATTRIBUTE_EVENT_LISTENER(cut);
124 DEFINE_ATTRIBUTE_EVENT_LISTENER(gotpointercapture);
125 DEFINE_ATTRIBUTE_EVENT_LISTENER(lostpointercapture);
124 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste); 126 DEFINE_ATTRIBUTE_EVENT_LISTENER(paste);
125 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); 127 DEFINE_ATTRIBUTE_EVENT_LISTENER(search);
126 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); 128 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart);
127 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel); 129 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel);
128 130
129 bool hasAttribute(const QualifiedName&) const; 131 bool hasAttribute(const QualifiedName&) const;
130 const AtomicString& getAttribute(const QualifiedName&) const; 132 const AtomicString& getAttribute(const QualifiedName&) const;
131 133
132 // Passing nullAtom as the second parameter removes the attribute when calli ng either of these set methods. 134 // Passing nullAtom as the second parameter removes the attribute when calli ng either of these set methods.
133 void setAttribute(const QualifiedName&, const AtomicString& value); 135 void setAttribute(const QualifiedName&, const AtomicString& value);
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) 951 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&)
950 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 952 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
951 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 953 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \
952 { \ 954 { \
953 return adoptRefWillBeNoop(new T(tagName, document)); \ 955 return adoptRefWillBeNoop(new T(tagName, document)); \
954 } 956 }
955 957
956 } // namespace blink 958 } // namespace blink
957 959
958 #endif // Element_h 960 #endif // Element_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698