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

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

Issue 1352523002: Use high precision timestamp for Event.timestamp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 void decrementLoadEventDelayCount(); 904 void decrementLoadEventDelayCount();
905 void checkLoadEventSoon(); 905 void checkLoadEventSoon();
906 bool isDelayingLoadEvent(); 906 bool isDelayingLoadEvent();
907 void loadPluginsSoon(); 907 void loadPluginsSoon();
908 908
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; 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<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch>>&) const; 910 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch>>&) const;
911 911
912 const DocumentTiming& timing() const { return m_documentTiming; } 912 const DocumentTiming& timing() const { return m_documentTiming; }
913 913
914 double monotonicTimeToZeroBasedDocumentTime(double) const;
915
914 int requestAnimationFrame(FrameRequestCallback*); 916 int requestAnimationFrame(FrameRequestCallback*);
915 void cancelAnimationFrame(int id); 917 void cancelAnimationFrame(int id);
916 void serviceScriptedAnimations(double monotonicAnimationStartTime); 918 void serviceScriptedAnimations(double monotonicAnimationStartTime);
917 919
918 int requestIdleCallback(IdleRequestCallback*, double timeoutMillis); 920 int requestIdleCallback(IdleRequestCallback*, double timeoutMillis);
919 void cancelIdleCallback(int id); 921 void cancelIdleCallback(int id);
920 922
921 EventTarget* errorEventTarget() final; 923 EventTarget* errorEventTarget() final;
922 void logExceptionToConsole(const String& errorMessage, int scriptId, const S tring& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<Scrip tCallStack>) final; 924 void logExceptionToConsole(const String& errorMessage, int scriptId, const S tring& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<Scrip tCallStack>) final;
923 925
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1435 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1434 1436
1435 } // namespace blink 1437 } // namespace blink
1436 1438
1437 #ifndef NDEBUG 1439 #ifndef NDEBUG
1438 // Outside the WebCore namespace for ease of invocation from gdb. 1440 // Outside the WebCore namespace for ease of invocation from gdb.
1439 CORE_EXPORT void showLiveDocumentInstances(); 1441 CORE_EXPORT void showLiveDocumentInstances();
1440 #endif 1442 #endif
1441 1443
1442 #endif // Document_h 1444 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698