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 28 matching lines...) Expand all Loading... |
39 | 39 |
40 namespace WebCore { | 40 namespace WebCore { |
41 | 41 |
42 class DocumentLoadTiming; | 42 class DocumentLoadTiming; |
43 class DocumentLoader; | 43 class DocumentLoader; |
44 struct DocumentTiming; | 44 struct DocumentTiming; |
45 class Frame; | 45 class Frame; |
46 class ResourceLoadTiming; | 46 class ResourceLoadTiming; |
47 | 47 |
48 class PerformanceTiming FINAL : public RefCountedWillBeGarbageCollectedFinalized
<PerformanceTiming>, public ScriptWrappable, public DOMWindowProperty { | 48 class PerformanceTiming FINAL : public RefCountedWillBeGarbageCollectedFinalized
<PerformanceTiming>, public ScriptWrappable, public DOMWindowProperty { |
49 DECLARE_GC_INFO; | |
50 public: | 49 public: |
51 static PassRefPtrWillBeRawPtr<PerformanceTiming> create(Frame* frame) | 50 static PassRefPtrWillBeRawPtr<PerformanceTiming> create(Frame* frame) |
52 { | 51 { |
53 return adoptRefWillBeNoop(new PerformanceTiming(frame)); | 52 return adoptRefWillBeNoop(new PerformanceTiming(frame)); |
54 } | 53 } |
55 | 54 |
56 unsigned long long navigationStart() const; | 55 unsigned long long navigationStart() const; |
57 unsigned long long unloadEventStart() const; | 56 unsigned long long unloadEventStart() const; |
58 unsigned long long unloadEventEnd() const; | 57 unsigned long long unloadEventEnd() const; |
59 unsigned long long redirectStart() const; | 58 unsigned long long redirectStart() const; |
(...skipping 24 matching lines...) Expand all Loading... |
84 DocumentLoader* documentLoader() const; | 83 DocumentLoader* documentLoader() const; |
85 DocumentLoadTiming* documentLoadTiming() const; | 84 DocumentLoadTiming* documentLoadTiming() const; |
86 ResourceLoadTiming* resourceLoadTiming() const; | 85 ResourceLoadTiming* resourceLoadTiming() const; |
87 | 86 |
88 unsigned long long monotonicTimeToIntegerMilliseconds(double) const; | 87 unsigned long long monotonicTimeToIntegerMilliseconds(double) const; |
89 }; | 88 }; |
90 | 89 |
91 } | 90 } |
92 | 91 |
93 #endif // !defined(PerformanceTiming_h) | 92 #endif // !defined(PerformanceTiming_h) |
OLD | NEW |