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

Side by Side Diff: Source/core/frame/EventHandlerRegistry.h

Issue 1280043002: Oilpan: turn EventHandlerRegistry::m_frameHost into a traced reference. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | Source/core/frame/EventHandlerRegistry.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EventHandlerRegistry_h 5 #ifndef EventHandlerRegistry_h
6 #define EventHandlerRegistry_h 6 #define EventHandlerRegistry_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/frame/FrameHost.h" 9 #include "core/frame/FrameHost.h"
10 #include "wtf/HashCountedSet.h" 10 #include "wtf/HashCountedSet.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Record a change operation to a given event handler class and notify any 91 // Record a change operation to a given event handler class and notify any
92 // parent registry and other clients accordingly. 92 // parent registry and other clients accordingly.
93 void updateEventHandlerOfType(ChangeOperation, const AtomicString& eventType , EventTarget*); 93 void updateEventHandlerOfType(ChangeOperation, const AtomicString& eventType , EventTarget*);
94 94
95 void updateEventHandlerInternal(ChangeOperation, EventHandlerClass, EventTar get*); 95 void updateEventHandlerInternal(ChangeOperation, EventHandlerClass, EventTar get*);
96 96
97 void updateAllEventHandlers(ChangeOperation, EventTarget&); 97 void updateAllEventHandlers(ChangeOperation, EventTarget&);
98 98
99 void checkConsistency() const; 99 void checkConsistency() const;
100 100
101 FrameHost& m_frameHost; 101 RawPtrWillBeMember<FrameHost> m_frameHost;
102 EventTargetSet m_targets[EventHandlerClassCount]; 102 EventTargetSet m_targets[EventHandlerClassCount];
103 }; 103 };
104 104
105 } // namespace blink 105 } // namespace blink
106 106
107 #endif // EventHandlerRegistry_h 107 #endif // EventHandlerRegistry_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/EventHandlerRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698