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

Side by Side Diff: Source/core/dom/Document.h

Issue 1043903003: rAF: Introduce FrameRequestCallbackCollection for managing rAF callbacks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 class EventFactoryBase; 98 class EventFactoryBase;
99 class EventListener; 99 class EventListener;
100 template <typename EventType> 100 template <typename EventType>
101 class EventWithHitTestResults; 101 class EventWithHitTestResults;
102 class ExceptionState; 102 class ExceptionState;
103 class FloatQuad; 103 class FloatQuad;
104 class FloatRect; 104 class FloatRect;
105 class FormController; 105 class FormController;
106 class Frame; 106 class Frame;
107 class FrameHost; 107 class FrameHost;
108 class FrameRequestCallback;
108 class FrameView; 109 class FrameView;
109 class HTMLAllCollection; 110 class HTMLAllCollection;
110 class HTMLCanvasElement; 111 class HTMLCanvasElement;
111 class HTMLCollection; 112 class HTMLCollection;
112 class HTMLDialogElement; 113 class HTMLDialogElement;
113 class HTMLElement; 114 class HTMLElement;
114 class HTMLFrameOwnerElement; 115 class HTMLFrameOwnerElement;
115 class HTMLHeadElement; 116 class HTMLHeadElement;
116 class HTMLImportLoader; 117 class HTMLImportLoader;
117 class HTMLImportsController; 118 class HTMLImportsController;
118 class HTMLLinkElement; 119 class HTMLLinkElement;
119 class HTMLScriptElement; 120 class HTMLScriptElement;
120 class HitTestRequest; 121 class HitTestRequest;
121 class LayoutPoint; 122 class LayoutPoint;
122 class LiveNodeListBase; 123 class LiveNodeListBase;
123 class Locale; 124 class Locale;
124 class LocalFrame; 125 class LocalFrame;
125 class Location; 126 class Location;
126 class MainThreadTaskRunner; 127 class MainThreadTaskRunner;
127 class MediaQueryListListener; 128 class MediaQueryListListener;
128 class MediaQueryMatcher; 129 class MediaQueryMatcher;
129 class NodeFilter; 130 class NodeFilter;
130 class NodeIterator; 131 class NodeIterator;
131 class Page; 132 class Page;
132 class PlatformMouseEvent; 133 class PlatformMouseEvent;
133 class ProcessingInstruction; 134 class ProcessingInstruction;
134 class QualifiedName; 135 class QualifiedName;
135 class Range; 136 class Range;
136 class LayoutView; 137 class LayoutView;
137 class RequestAnimationFrameCallback;
138 class ResourceFetcher; 138 class ResourceFetcher;
139 class SVGDocumentExtensions; 139 class SVGDocumentExtensions;
140 class SVGUseElement; 140 class SVGUseElement;
141 class ScriptRunner; 141 class ScriptRunner;
142 class ScriptableDocumentParser; 142 class ScriptableDocumentParser;
143 class ScriptedAnimationController; 143 class ScriptedAnimationController;
144 class SecurityOrigin; 144 class SecurityOrigin;
145 class SegmentedString; 145 class SegmentedString;
146 class SelectorQueryCache; 146 class SelectorQueryCache;
147 class SerializedScriptValue; 147 class SerializedScriptValue;
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 void decrementLoadEventDelayCount(); 942 void decrementLoadEventDelayCount();
943 void checkLoadEventSoon(); 943 void checkLoadEventSoon();
944 bool isDelayingLoadEvent(); 944 bool isDelayingLoadEvent();
945 void loadPluginsSoon(); 945 void loadPluginsSoon();
946 946
947 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; 947 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;
948 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch>>&) const; 948 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch>>&) const;
949 949
950 const DocumentTiming& timing() const { return m_documentTiming; } 950 const DocumentTiming& timing() const { return m_documentTiming; }
951 951
952 int requestAnimationFrame(RequestAnimationFrameCallback*); 952 int requestAnimationFrame(FrameRequestCallback*);
953 void cancelAnimationFrame(int id); 953 void cancelAnimationFrame(int id);
954 void serviceScriptedAnimations(double monotonicAnimationStartTime); 954 void serviceScriptedAnimations(double monotonicAnimationStartTime);
955 955
956 virtual EventTarget* errorEventTarget() override final; 956 virtual EventTarget* errorEventTarget() override final;
957 virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawP tr<ScriptCallStack>) override final; 957 virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawP tr<ScriptCallStack>) override final;
958 958
959 void initDNSPrefetch(); 959 void initDNSPrefetch();
960 960
961 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; } 961 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; }
962 962
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
1435 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1435 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1436 1436
1437 } // namespace blink 1437 } // namespace blink
1438 1438
1439 #ifndef NDEBUG 1439 #ifndef NDEBUG
1440 // Outside the WebCore namespace for ease of invocation from gdb. 1440 // Outside the WebCore namespace for ease of invocation from gdb.
1441 void showLiveDocumentInstances(); 1441 void showLiveDocumentInstances();
1442 #endif 1442 #endif
1443 1443
1444 #endif // Document_h 1444 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698