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

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

Issue 683013002: Extract a DOMWindow interface from LocalDOMWindow and use it in the idl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix incorrect assumption Created 6 years, 1 month 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.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index fd404a284818f01dc70e1ccfaf4ceed423906065..8896a7bb009ea114f7b1a6309991585ed8d62e30 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -45,6 +45,7 @@
#include "core/dom/UserActionElementSet.h"
#include "core/dom/ViewportDescription.h"
#include "core/dom/custom/CustomElement.h"
+#include "core/frame/LocalDOMWindow.h"
#include "core/html/CollectionType.h"
#include "core/page/FocusType.h"
#include "core/page/PageVisibilityState.h"
@@ -76,6 +77,7 @@ class ContextFeatures;
class CustomElementMicrotaskRunQueue;
class CustomElementRegistrationContext;
class DOMImplementation;
+class DOMWindow;
class DocumentFragment;
class DocumentLifecycleNotifier;
class DocumentLoader;
@@ -114,7 +116,6 @@ class HitTestRequest;
class LayoutPoint;
class LiveNodeListBase;
class Locale;
-class LocalDOMWindow;
class LocalFrame;
class Location;
class MainThreadTaskRunner;
@@ -937,7 +938,7 @@ public:
bool isDelayingLoadEvent();
void loadPluginsSoon();
- PassRefPtrWillBeRawPtr<Touch> createTouch(LocalDOMWindow*, EventTarget*, int identifier, double pageX, double pageY, double screenX, double screenY, double radiusX, double radiusY, float rotationAngle, float force) const;
+ PassRefPtrWillBeRawPtr<Touch> createTouch(DOMWindow*, EventTarget*, int identifier, double pageX, double pageY, double screenX, double screenY, double radiusX, double radiusY, float rotationAngle, float force) const;
PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWillBeMember<Touch>>&) const;
const DocumentTiming& timing() const { return m_documentTiming; }

Powered by Google App Engine
This is Rietveld 408576698