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

Side by Side Diff: third_party/WebKit/Source/core/events/EventTarget.h

Issue 2848243004: Clean up bindings/core/v8 (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 7 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 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
(...skipping 15 matching lines...) Expand all
26 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 * 29 *
30 */ 30 */
31 31
32 #ifndef EventTarget_h 32 #ifndef EventTarget_h
33 #define EventTarget_h 33 #define EventTarget_h
34 34
35 #include <memory> 35 #include <memory>
36 #include "bindings/core/v8/ScriptWrappable.h"
37 #include "core/CoreExport.h" 36 #include "core/CoreExport.h"
38 #include "core/EventNames.h" 37 #include "core/EventNames.h"
39 #include "core/EventTargetNames.h" 38 #include "core/EventTargetNames.h"
40 #include "core/EventTypeNames.h" 39 #include "core/EventTypeNames.h"
41 #include "core/events/AddEventListenerOptionsResolved.h" 40 #include "core/events/AddEventListenerOptionsResolved.h"
42 #include "core/events/EventDispatchResult.h" 41 #include "core/events/EventDispatchResult.h"
43 #include "core/events/EventListenerMap.h" 42 #include "core/events/EventListenerMap.h"
44 #include "core/frame/UseCounter.h" 43 #include "core/frame/UseCounter.h"
44 #include "platform/bindings/ScriptWrappable.h"
45 #include "platform/heap/Handle.h" 45 #include "platform/heap/Handle.h"
46 #include "platform/wtf/Allocator.h" 46 #include "platform/wtf/Allocator.h"
47 #include "platform/wtf/text/AtomicString.h" 47 #include "platform/wtf/text/AtomicString.h"
48 48
49 namespace blink { 49 namespace blink {
50 50
51 class AddEventListenerOptionsOrBoolean; 51 class AddEventListenerOptionsOrBoolean;
52 class DOMWindow; 52 class DOMWindow;
53 class Event; 53 class Event;
54 class EventListenerOptionsOrBoolean; 54 class EventListenerOptionsOrBoolean;
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 const AtomicString& event_type) { 322 const AtomicString& event_type) {
323 EventTargetData* d = GetEventTargetData(); 323 EventTargetData* d = GetEventTargetData();
324 if (!d) 324 if (!d)
325 return false; 325 return false;
326 return d->event_listener_map.ContainsCapturing(event_type); 326 return d->event_listener_map.ContainsCapturing(event_type);
327 } 327 }
328 328
329 } // namespace blink 329 } // namespace blink
330 330
331 #endif // EventTarget_h 331 #endif // EventTarget_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.cpp ('k') | third_party/WebKit/Source/core/events/KeyboardEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698