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

Side by Side Diff: third_party/WebKit/Source/core/timing/PerformanceTiming.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 24 matching lines...) Expand all
35 #include "core/CoreExport.h" 35 #include "core/CoreExport.h"
36 #include "core/frame/DOMWindowProperty.h" 36 #include "core/frame/DOMWindowProperty.h"
37 #include "platform/heap/Handle.h" 37 #include "platform/heap/Handle.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class DocumentLoadTiming; 41 class DocumentLoadTiming;
42 class DocumentLoader; 42 class DocumentLoader;
43 class DocumentTiming; 43 class DocumentTiming;
44 class LocalFrame; 44 class LocalFrame;
45 class PaintTiming;
45 class ResourceLoadTiming; 46 class ResourceLoadTiming;
46 class ScriptState; 47 class ScriptState;
47 class ScriptValue; 48 class ScriptValue;
48 49
49 class CORE_EXPORT PerformanceTiming final : public GarbageCollectedFinalized<Per formanceTiming>, public ScriptWrappable, public DOMWindowProperty { 50 class CORE_EXPORT PerformanceTiming final : public GarbageCollectedFinalized<Per formanceTiming>, public ScriptWrappable, public DOMWindowProperty {
50 DEFINE_WRAPPERTYPEINFO(); 51 DEFINE_WRAPPERTYPEINFO();
51 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PerformanceTiming); 52 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PerformanceTiming);
52 public: 53 public:
53 static PerformanceTiming* create(LocalFrame* frame) 54 static PerformanceTiming* create(LocalFrame* frame)
54 { 55 {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 93
93 DECLARE_VIRTUAL_TRACE(); 94 DECLARE_VIRTUAL_TRACE();
94 95
95 unsigned long long monotonicTimeToIntegerMilliseconds(double) const; 96 unsigned long long monotonicTimeToIntegerMilliseconds(double) const;
96 double integerMillisecondsToMonotonicTime(unsigned long long) const; 97 double integerMillisecondsToMonotonicTime(unsigned long long) const;
97 98
98 private: 99 private:
99 explicit PerformanceTiming(LocalFrame*); 100 explicit PerformanceTiming(LocalFrame*);
100 101
101 const DocumentTiming* documentTiming() const; 102 const DocumentTiming* documentTiming() const;
103 const PaintTiming* paintTiming() const;
102 DocumentLoader* documentLoader() const; 104 DocumentLoader* documentLoader() const;
103 DocumentLoadTiming* documentLoadTiming() const; 105 DocumentLoadTiming* documentLoadTiming() const;
104 ResourceLoadTiming* resourceLoadTiming() const; 106 ResourceLoadTiming* resourceLoadTiming() const;
105 }; 107 };
106 108
107 } // namespace blink 109 } // namespace blink
108 110
109 #endif // PerformanceTiming_h 111 #endif // PerformanceTiming_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintTiming.cpp ('k') | third_party/WebKit/Source/core/timing/PerformanceTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698