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

Unified Diff: Source/core/dom/Document.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
« no previous file with comments | « no previous file | Source/core/dom/EventTarget.h » ('j') | Source/core/dom/EventTarget.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 406082cb596cc445d9d3bc391812e037684b7cf5..361a665030fd0ef2c77e6e08a39725bb3995c0ce 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -1029,6 +1029,9 @@ public:
virtual void addConsoleMessage(MessageSource, MessageLevel, const String& message, unsigned long requestIdentifier = 0);
+ virtual DOMWindow* browsingContext() OVERRIDE { return domWindow(); }
abarth-chromium 2013/08/09 16:25:53 This terminology doesn't match the HTML5 spec. T
+ virtual void userEventWasHandled() OVERRIDE { resetLastHandledUserGestureTimestamp(); }
+
PassRefPtr<FontLoader> fontloader();
DocumentLifecycleNotifier* lifecycleNotifier();
« no previous file with comments | « no previous file | Source/core/dom/EventTarget.h » ('j') | Source/core/dom/EventTarget.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698