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

Unified Diff: Source/core/dom/Document.cpp

Issue 206603002: Add EventHandlerRegistry (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Just the registry. 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
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 2a769a7a64f5d330e24938505e1b37da109c9c15..e8717adefbe61c6e6600c13831d643f02372add5 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -71,6 +71,7 @@
#include "core/dom/Element.h"
#include "core/dom/ElementDataCache.h"
#include "core/dom/ElementTraversal.h"
+#include "core/dom/EventHandlerRegistry.h"
#include "core/dom/ExceptionCode.h"
#include "core/dom/ExecutionContextTask.h"
#include "core/dom/MainThreadTaskRunner.h"
@@ -2092,6 +2093,7 @@ void Document::attach(const AttachContext& context)
textAutosizer->updatePageInfo();
m_lifecycle.advanceTo(DocumentLifecycle::StyleClean);
+ lifecycleNotifier().notifyDocumentWasAttached();
abarth-chromium 2014/04/11 19:08:01 What is it appropriate to do this work during Docu
Sami 2014/04/15 18:31:52 Turns out I was a little confused about a document
}
void Document::detach(const AttachContext& context)

Powered by Google App Engine
This is Rietveld 408576698