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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 27 matching lines...) Expand all
38 #include "core/dom/DocumentLifecycle.h" 38 #include "core/dom/DocumentLifecycle.h"
39 #include "core/dom/DocumentSupplementable.h" 39 #include "core/dom/DocumentSupplementable.h"
40 #include "core/dom/DocumentTiming.h" 40 #include "core/dom/DocumentTiming.h"
41 #include "core/dom/ExecutionContext.h" 41 #include "core/dom/ExecutionContext.h"
42 #include "core/dom/MutationObserver.h" 42 #include "core/dom/MutationObserver.h"
43 #include "core/dom/TextLinkColors.h" 43 #include "core/dom/TextLinkColors.h"
44 #include "core/dom/TreeScope.h" 44 #include "core/dom/TreeScope.h"
45 #include "core/dom/UserActionElementSet.h" 45 #include "core/dom/UserActionElementSet.h"
46 #include "core/dom/ViewportDescription.h" 46 #include "core/dom/ViewportDescription.h"
47 #include "core/dom/custom/CustomElement.h" 47 #include "core/dom/custom/CustomElement.h"
48 #include "core/frame/LocalDOMWindow.h"
48 #include "core/html/CollectionType.h" 49 #include "core/html/CollectionType.h"
49 #include "core/page/FocusType.h" 50 #include "core/page/FocusType.h"
50 #include "core/page/PageVisibilityState.h" 51 #include "core/page/PageVisibilityState.h"
51 #include "platform/Length.h" 52 #include "platform/Length.h"
52 #include "platform/Timer.h" 53 #include "platform/Timer.h"
53 #include "platform/heap/Handle.h" 54 #include "platform/heap/Handle.h"
54 #include "platform/weborigin/KURL.h" 55 #include "platform/weborigin/KURL.h"
55 #include "platform/weborigin/ReferrerPolicy.h" 56 #include "platform/weborigin/ReferrerPolicy.h"
56 #include "wtf/HashSet.h" 57 #include "wtf/HashSet.h"
57 #include "wtf/OwnPtr.h" 58 #include "wtf/OwnPtr.h"
(...skipping 11 matching lines...) Expand all
69 class CSSStyleSheet; 70 class CSSStyleSheet;
70 class CanvasRenderingContext2D; 71 class CanvasRenderingContext2D;
71 class CanvasRenderingContext2DOrWebGLRenderingContext; 72 class CanvasRenderingContext2DOrWebGLRenderingContext;
72 class Chrome; 73 class Chrome;
73 class Comment; 74 class Comment;
74 class ConsoleMessage; 75 class ConsoleMessage;
75 class ContextFeatures; 76 class ContextFeatures;
76 class CustomElementMicrotaskRunQueue; 77 class CustomElementMicrotaskRunQueue;
77 class CustomElementRegistrationContext; 78 class CustomElementRegistrationContext;
78 class DOMImplementation; 79 class DOMImplementation;
80 class DOMWindow;
79 class DocumentFragment; 81 class DocumentFragment;
80 class DocumentLifecycleNotifier; 82 class DocumentLifecycleNotifier;
81 class DocumentLoader; 83 class DocumentLoader;
82 class DocumentMarkerController; 84 class DocumentMarkerController;
83 class DocumentNameCollection; 85 class DocumentNameCollection;
84 class DocumentParser; 86 class DocumentParser;
85 class DocumentState; 87 class DocumentState;
86 class DocumentType; 88 class DocumentType;
87 class Element; 89 class Element;
88 class ElementDataCache; 90 class ElementDataCache;
(...skipping 18 matching lines...) Expand all
107 class HTMLFrameOwnerElement; 109 class HTMLFrameOwnerElement;
108 class HTMLHeadElement; 110 class HTMLHeadElement;
109 class HTMLImportLoader; 111 class HTMLImportLoader;
110 class HTMLImportsController; 112 class HTMLImportsController;
111 class HTMLLinkElement; 113 class HTMLLinkElement;
112 class HTMLScriptElement; 114 class HTMLScriptElement;
113 class HitTestRequest; 115 class HitTestRequest;
114 class LayoutPoint; 116 class LayoutPoint;
115 class LiveNodeListBase; 117 class LiveNodeListBase;
116 class Locale; 118 class Locale;
117 class LocalDOMWindow;
118 class LocalFrame; 119 class LocalFrame;
119 class Location; 120 class Location;
120 class MainThreadTaskRunner; 121 class MainThreadTaskRunner;
121 class MediaQueryListListener; 122 class MediaQueryListListener;
122 class MediaQueryMatcher; 123 class MediaQueryMatcher;
123 class NodeFilter; 124 class NodeFilter;
124 class NodeIterator; 125 class NodeIterator;
125 class Page; 126 class Page;
126 class PlatformMouseEvent; 127 class PlatformMouseEvent;
127 class ProcessingInstruction; 128 class ProcessingInstruction;
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 void exitPointerLock(); 931 void exitPointerLock();
931 Element* pointerLockElement() const; 932 Element* pointerLockElement() const;
932 933
933 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event. 934 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event.
934 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; } 935 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; }
935 void decrementLoadEventDelayCount(); 936 void decrementLoadEventDelayCount();
936 void checkLoadEventSoon(); 937 void checkLoadEventSoon();
937 bool isDelayingLoadEvent(); 938 bool isDelayingLoadEvent();
938 void loadPluginsSoon(); 939 void loadPluginsSoon();
939 940
940 PassRefPtrWillBeRawPtr<Touch> createTouch(LocalDOMWindow*, EventTarget*, int identifier, double pageX, double pageY, double screenX, double screenY, double radiusX, double radiusY, float rotationAngle, float force) const; 941 PassRefPtrWillBeRawPtr<Touch> createTouch(DOMWindow*, EventTarget*, int iden tifier, double pageX, double pageY, double screenX, double screenY, double radiu sX, double radiusY, float rotationAngle, float force) const;
941 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch>>&) const; 942 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch>>&) const;
942 943
943 const DocumentTiming& timing() const { return m_documentTiming; } 944 const DocumentTiming& timing() const { return m_documentTiming; }
944 945
945 int requestAnimationFrame(RequestAnimationFrameCallback*); 946 int requestAnimationFrame(RequestAnimationFrameCallback*);
946 void cancelAnimationFrame(int id); 947 void cancelAnimationFrame(int id);
947 void serviceScriptedAnimations(double monotonicAnimationStartTime); 948 void serviceScriptedAnimations(double monotonicAnimationStartTime);
948 949
949 virtual EventTarget* errorEventTarget() override final; 950 virtual EventTarget* errorEventTarget() override final;
950 virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawP tr<ScriptCallStack>) override final; 951 virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawP tr<ScriptCallStack>) override final;
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1418 Node* eventTargetNodeForDocument(Document*); 1419 Node* eventTargetNodeForDocument(Document*);
1419 1420
1420 } // namespace blink 1421 } // namespace blink
1421 1422
1422 #ifndef NDEBUG 1423 #ifndef NDEBUG
1423 // Outside the WebCore namespace for ease of invocation from gdb. 1424 // Outside the WebCore namespace for ease of invocation from gdb.
1424 void showLiveDocumentInstances(); 1425 void showLiveDocumentInstances();
1425 #endif 1426 #endif
1426 1427
1427 #endif // Document_h 1428 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698