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

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: whee 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
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index d81b9461be2d20b4129244bb55212e5eb586aa5c..1d6410e85e116d35b5662431e1e46d7690898a7f 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"
@@ -75,6 +76,7 @@ class ContextFeatures;
class CustomElementMicrotaskRunQueue;
class CustomElementRegistrationContext;
class DOMImplementation;
+class DOMWindow;
class DocumentFragment;
class DocumentLifecycleNotifier;
class DocumentLoader;
@@ -113,7 +115,6 @@ class HitTestRequest;
class LayoutPoint;
class LiveNodeListBase;
class Locale;
-class LocalDOMWindow;
class LocalFrame;
class Location;
class MainThreadTaskRunner;
@@ -936,7 +937,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