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

Side by Side Diff: sky/engine/core/events/EventListenerMap.h

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/engine/core/events/EventListener.h ('k') | sky/engine/core/events/EventListenerMap.cpp » ('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 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2012 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2012 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 * Copyright (C) 2011 Andreas Kling (kling@webkit.org) 8 * Copyright (C) 2011 Andreas Kling (kling@webkit.org)
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 #if ENABLE(ASSERT) 67 #if ENABLE(ASSERT)
68 int m_activeIteratorCount; 68 int m_activeIteratorCount;
69 #endif 69 #endif
70 }; 70 };
71 71
72 class EventListenerIterator { 72 class EventListenerIterator {
73 WTF_MAKE_NONCOPYABLE(EventListenerIterator); 73 WTF_MAKE_NONCOPYABLE(EventListenerIterator);
74 public: 74 public:
75 EventListenerIterator(); 75 EventListenerIterator();
76 EventListenerIterator(EventTarget*); 76 EventListenerIterator(const EventTarget*);
77 #if ENABLE(ASSERT) 77 #if ENABLE(ASSERT)
78 ~EventListenerIterator(); 78 ~EventListenerIterator();
79 #endif 79 #endif
80 80
81 EventListener* nextListener(); 81 EventListener* nextListener();
82 82
83 private: 83 private:
84 EventListenerMap* m_map; 84 EventListenerMap* m_map;
85 unsigned m_entryIndex; 85 unsigned m_entryIndex;
86 unsigned m_index; 86 unsigned m_index;
87 }; 87 };
88 88
89 #if !ENABLE(ASSERT) 89 #if !ENABLE(ASSERT)
90 inline void EventListenerMap::assertNoActiveIterators() { } 90 inline void EventListenerMap::assertNoActiveIterators() { }
91 #endif 91 #endif
92 92
93 } // namespace blink 93 } // namespace blink
94 94
95 #endif // SKY_ENGINE_CORE_EVENTS_EVENTLISTENERMAP_H_ 95 #endif // SKY_ENGINE_CORE_EVENTS_EVENTLISTENERMAP_H_
OLDNEW
« no previous file with comments | « sky/engine/core/events/EventListener.h ('k') | sky/engine/core/events/EventListenerMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698