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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 206603002: Add EventHandlerRegistry (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Start with the bare minimum. Created 6 years, 8 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
« Source/core/dom/Node.cpp ('K') | « Source/core/testing/Internals.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index 487e4a771da87db2c681bf7715a76206c56998f4..50dd0b5bc02398c86216f36b191a768c4eeddc35 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -58,6 +58,7 @@
#include "bindings/v8/ScriptController.h"
#include "core/dom/Document.h"
#include "core/dom/DocumentFullscreen.h"
+#include "core/dom/EventHandlerRegistry.h"
#include "core/events/MessageEvent.h"
#include "core/events/MouseEvent.h"
#include "core/dom/WheelController.h"
@@ -119,6 +120,7 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld(DOMWrapperWorld&
Document* document = m_webFrame->frame()->document();
if (document) {
WheelController::from(*document);
+ EventHandlerRegistry::from(*document);
abarth-chromium 2014/04/17 18:05:12 I don't think this is needed. Does your test fail
Sami 2014/04/17 18:40:53 The test passes fine without this. I only added it
if (RuntimeEnabledFeatures::deviceMotionEnabled())
DeviceMotionController::from(*document);
if (RuntimeEnabledFeatures::deviceOrientationEnabled())
« Source/core/dom/Node.cpp ('K') | « Source/core/testing/Internals.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698