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

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

Issue 1456883002: Move paint-related timings out of DocumentTiming (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; } 896 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; }
897 void decrementLoadEventDelayCount(); 897 void decrementLoadEventDelayCount();
898 void checkLoadEventSoon(); 898 void checkLoadEventSoon();
899 bool isDelayingLoadEvent(); 899 bool isDelayingLoadEvent();
900 void loadPluginsSoon(); 900 void loadPluginsSoon();
901 901
902 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; 902 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;
903 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch>>&) const; 903 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch>>&) const;
904 904
905 const DocumentTiming& timing() const { return m_documentTiming; } 905 const DocumentTiming& timing() const { return m_documentTiming; }
906 void markFirstPaint();
907 void markFirstTextPaint();
908 void markFirstImagePaint();
909 906
910 int requestAnimationFrame(FrameRequestCallback*); 907 int requestAnimationFrame(FrameRequestCallback*);
911 void cancelAnimationFrame(int id); 908 void cancelAnimationFrame(int id);
912 void serviceScriptedAnimations(double monotonicAnimationStartTime); 909 void serviceScriptedAnimations(double monotonicAnimationStartTime);
913 910
914 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&); 911 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&);
915 void cancelIdleCallback(int id); 912 void cancelIdleCallback(int id);
916 913
917 EventTarget* errorEventTarget() final; 914 EventTarget* errorEventTarget() final;
918 void logExceptionToConsole(const String& errorMessage, int scriptId, const S tring& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<Scrip tCallStack>) final; 915 void logExceptionToConsole(const String& errorMessage, int scriptId, const S tring& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<Scrip tCallStack>) final;
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1430 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1434 1431
1435 } // namespace blink 1432 } // namespace blink
1436 1433
1437 #ifndef NDEBUG 1434 #ifndef NDEBUG
1438 // Outside the WebCore namespace for ease of invocation from gdb. 1435 // Outside the WebCore namespace for ease of invocation from gdb.
1439 CORE_EXPORT void showLiveDocumentInstances(); 1436 CORE_EXPORT void showLiveDocumentInstances();
1440 #endif 1437 #endif
1441 1438
1442 #endif // Document_h 1439 #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