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

Unified Diff: Source/core/dom/EventTarget.h

Issue 22564003: Refactoring: Get rid of isDocument() check in EventTarget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/EventTarget.h
diff --git a/Source/core/dom/EventTarget.h b/Source/core/dom/EventTarget.h
index 5e95e0fcae63987e5e6ff117f4b7ca202b757787..a2cb226453ac240c7abd1374882803249144bdc4 100644
--- a/Source/core/dom/EventTarget.h
+++ b/Source/core/dom/EventTarget.h
@@ -136,6 +136,7 @@ namespace WebCore {
virtual void refEventTarget() = 0;
virtual void derefEventTarget() = 0;
+ DOMWindow* browsingContext();
void fireEventListeners(Event*, EventTargetData*, EventListenerVector&);
bool clearAttributeEventListener(const AtomicString& eventType, DOMWrapperWorld* isolatedWorld);

Powered by Google App Engine
This is Rietveld 408576698