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

Unified Diff: trunk/Source/core/frame/EventHandlerRegistry.h

Issue 391483002: Revert 177812 "Migrate touch events to EventHandlerRegistry" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/Source/core/dom/Node.cpp ('k') | trunk/Source/core/frame/EventHandlerRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/frame/EventHandlerRegistry.h
===================================================================
--- trunk/Source/core/frame/EventHandlerRegistry.h (revision 177995)
+++ trunk/Source/core/frame/EventHandlerRegistry.h (working copy)
@@ -28,7 +28,6 @@
enum EventHandlerClass {
ScrollEvent,
WheelEvent,
- TouchEvent,
#if ASSERT_ENABLED
// Additional event categories for verifying handler tracking logic.
EventsForTesting,
@@ -48,15 +47,13 @@
void didRemoveEventHandler(EventTarget&, const AtomicString& eventType);
void didRemoveEventHandler(EventTarget&, EventHandlerClass);
void didRemoveAllEventHandlers(EventTarget&);
-
void didMoveIntoFrameHost(EventTarget&);
void didMoveOutOfFrameHost(EventTarget&);
- static void didMoveBetweenFrameHosts(EventTarget&, FrameHost* oldFrameHost, FrameHost* newFrameHost);
- // Either |documentDetached| or |didMove{Into,OutOf,Between}FrameHosts| must
- // be called whenever the FrameHost that is associated with a registered event
- // target changes. This ensures the registry does not end up with stale
- // references to handlers that are no longer related to it.
+ // Either |documentDetached| or |didMoveOutOfFrameHost| must be called
+ // whenever the FrameHost that is associated with a registered event target
+ // changes. This ensures the registry does not end up with stale references
+ // to handlers that are no longer related to it.
void documentDetached(Document&);
void trace(Visitor*);
@@ -82,11 +79,6 @@
// between the two cases.
void notifyHasHandlersChanged(EventHandlerClass, bool hasActiveHandlers);
- // Called to notify clients whenever a single event handler target is
- // registered or unregistered. If several handlers are registered for the
- // same target, only the first registration will trigger this notification.
- void notifyDidAddOrRemoveEventHandlerTarget(EventHandlerClass);
-
// Record a change operation to a given event handler class and notify any
// parent registry and other clients accordingly.
void updateEventHandlerOfType(ChangeOperation, const AtomicString& eventType, EventTarget*);
« no previous file with comments | « trunk/Source/core/dom/Node.cpp ('k') | trunk/Source/core/frame/EventHandlerRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698