OLD | NEW |
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 26 matching lines...) Expand all Loading... |
37 #include "wtf/RefCounted.h" | 37 #include "wtf/RefCounted.h" |
38 | 38 |
39 namespace WebCore { | 39 namespace WebCore { |
40 | 40 |
41 class DocumentLoadTiming; | 41 class DocumentLoadTiming; |
42 class DocumentLoader; | 42 class DocumentLoader; |
43 struct DocumentTiming; | 43 struct DocumentTiming; |
44 class Frame; | 44 class Frame; |
45 class ResourceLoadTiming; | 45 class ResourceLoadTiming; |
46 | 46 |
47 class PerformanceTiming : public RefCounted<PerformanceTiming>, public ScriptWra
ppable, public DOMWindowProperty { | 47 class PerformanceTiming FINAL : public RefCounted<PerformanceTiming>, public Scr
iptWrappable, public DOMWindowProperty { |
48 public: | 48 public: |
49 static PassRefPtr<PerformanceTiming> create(Frame* frame) { return adoptRef(
new PerformanceTiming(frame)); } | 49 static PassRefPtr<PerformanceTiming> create(Frame* frame) { return adoptRef(
new PerformanceTiming(frame)); } |
50 | 50 |
51 unsigned long long navigationStart() const; | 51 unsigned long long navigationStart() const; |
52 unsigned long long unloadEventStart() const; | 52 unsigned long long unloadEventStart() const; |
53 unsigned long long unloadEventEnd() const; | 53 unsigned long long unloadEventEnd() const; |
54 unsigned long long redirectStart() const; | 54 unsigned long long redirectStart() const; |
55 unsigned long long redirectEnd() const; | 55 unsigned long long redirectEnd() const; |
56 unsigned long long fetchStart() const; | 56 unsigned long long fetchStart() const; |
57 unsigned long long domainLookupStart() const; | 57 unsigned long long domainLookupStart() const; |
(...skipping 19 matching lines...) Expand all Loading... |
77 DocumentLoader* documentLoader() const; | 77 DocumentLoader* documentLoader() const; |
78 DocumentLoadTiming* documentLoadTiming() const; | 78 DocumentLoadTiming* documentLoadTiming() const; |
79 ResourceLoadTiming* resourceLoadTiming() const; | 79 ResourceLoadTiming* resourceLoadTiming() const; |
80 | 80 |
81 unsigned long long monotonicTimeToIntegerMilliseconds(double) const; | 81 unsigned long long monotonicTimeToIntegerMilliseconds(double) const; |
82 }; | 82 }; |
83 | 83 |
84 } | 84 } |
85 | 85 |
86 #endif // !defined(PerformanceTiming_h) | 86 #endif // !defined(PerformanceTiming_h) |
OLD | NEW |