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

Unified Diff: third_party/WebKit/Source/core/frame/EventHandlerRegistry.h

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Add early out to accommodate null frameWidget in webkit_unit_tests. Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/EventHandlerRegistry.h
diff --git a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h
index 56d77506d7d62b57c02abcf461b9192622b98437..41c642c2902f67786e29b0e936a99adb7de98ab7 100644
--- a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h
+++ b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h
@@ -14,6 +14,7 @@ namespace blink {
class AddEventListenerOptions;
class Document;
class EventTarget;
+class LocalFrame;
typedef HashCountedSet<UntracedMember<EventTarget>> EventTargetSet;
@@ -98,7 +99,9 @@ class CORE_EXPORT EventHandlerRegistry final
// clients when we have added the first handler or removed the last one for
// a given event class. |hasActiveHandlers| can be used to distinguish
// between the two cases.
- void notifyHasHandlersChanged(EventHandlerClass, bool hasActiveHandlers);
+ void notifyHasHandlersChanged(LocalFrame*,
+ EventHandlerClass,
+ bool hasActiveHandlers);
// Called to notify clients whenever a single event handler target is
// registered or unregistered. If several handlers are registered for the

Powered by Google App Engine
This is Rietveld 408576698