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

Unified Diff: sky/engine/core/dom/Document.cpp

Issue 671173006: Remove lots of machinery related to inline event handlers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/dom/Element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.cpp
diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
index fbce9f2115ab3a141e9de4104359a57a2a966854..859a8506dfd3e560359d7528941b5cd049766cbb 100644
--- a/sky/engine/core/dom/Document.cpp
+++ b/sky/engine/core/dom/Document.cpp
@@ -2317,22 +2317,6 @@ void Document::didSplitTextNode(Text& oldNode)
// FIXME: This should update markers for spelling and grammar checking.
}
-void Document::setWindowAttributeEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener)
-{
- LocalDOMWindow* domWindow = this->domWindow();
- if (!domWindow)
- return;
- domWindow->setAttributeEventListener(eventType, listener);
-}
-
-EventListener* Document::getWindowAttributeEventListener(const AtomicString& eventType)
-{
- LocalDOMWindow* domWindow = this->domWindow();
- if (!domWindow)
- return 0;
- return domWindow->getAttributeEventListener(eventType);
-}
-
EventQueue* Document::eventQueue() const
{
if (!m_domWindow)
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698