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

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

Issue 1367023002: Replace timeout argument with IdleRequestOptions in requestIdleCallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rIC_histograms
Patch Set: Created 5 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 unified diff | Download patch
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 class HTMLDialogElement; 117 class HTMLDialogElement;
118 class HTMLElement; 118 class HTMLElement;
119 class HTMLFrameOwnerElement; 119 class HTMLFrameOwnerElement;
120 class HTMLHeadElement; 120 class HTMLHeadElement;
121 class HTMLImportLoader; 121 class HTMLImportLoader;
122 class HTMLImportsController; 122 class HTMLImportsController;
123 class HTMLLinkElement; 123 class HTMLLinkElement;
124 class HTMLScriptElement; 124 class HTMLScriptElement;
125 class HitTestRequest; 125 class HitTestRequest;
126 class IdleRequestCallback; 126 class IdleRequestCallback;
127 class IdleRequestOptions;
127 class InputDeviceCapabilities; 128 class InputDeviceCapabilities;
128 class LayoutPoint; 129 class LayoutPoint;
129 class LiveNodeListBase; 130 class LiveNodeListBase;
130 class Locale; 131 class Locale;
131 class LocalFrame; 132 class LocalFrame;
132 class Location; 133 class Location;
133 class MainThreadTaskRunner; 134 class MainThreadTaskRunner;
134 class MediaQueryListListener; 135 class MediaQueryListListener;
135 class MediaQueryMatcher; 136 class MediaQueryMatcher;
136 class NodeFilter; 137 class NodeFilter;
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 909
909 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; 910 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;
910 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch>>&) const; 911 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch>>&) const;
911 912
912 const DocumentTiming& timing() const { return m_documentTiming; } 913 const DocumentTiming& timing() const { return m_documentTiming; }
913 914
914 int requestAnimationFrame(FrameRequestCallback*); 915 int requestAnimationFrame(FrameRequestCallback*);
915 void cancelAnimationFrame(int id); 916 void cancelAnimationFrame(int id);
916 void serviceScriptedAnimations(double monotonicAnimationStartTime); 917 void serviceScriptedAnimations(double monotonicAnimationStartTime);
917 918
918 int requestIdleCallback(IdleRequestCallback*, double timeoutMillis); 919 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&);
919 void cancelIdleCallback(int id); 920 void cancelIdleCallback(int id);
920 921
921 EventTarget* errorEventTarget() final; 922 EventTarget* errorEventTarget() final;
922 void logExceptionToConsole(const String& errorMessage, int scriptId, const S tring& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<Scrip tCallStack>) final; 923 void logExceptionToConsole(const String& errorMessage, int scriptId, const S tring& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<Scrip tCallStack>) final;
923 924
924 void initDNSPrefetch(); 925 void initDNSPrefetch();
925 926
926 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; } 927 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; }
927 928
928 TextAutosizer* textAutosizer(); 929 TextAutosizer* textAutosizer();
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1434 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1434 1435
1435 } // namespace blink 1436 } // namespace blink
1436 1437
1437 #ifndef NDEBUG 1438 #ifndef NDEBUG
1438 // Outside the WebCore namespace for ease of invocation from gdb. 1439 // Outside the WebCore namespace for ease of invocation from gdb.
1439 CORE_EXPORT void showLiveDocumentInstances(); 1440 CORE_EXPORT void showLiveDocumentInstances();
1440 #endif 1441 #endif
1441 1442
1442 #endif // Document_h 1443 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698