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 21 matching lines...) Expand all Loading... |
32 #define WebPerformance_h | 32 #define WebPerformance_h |
33 | 33 |
34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
35 #include "../platform/WebPrivatePtr.h" | 35 #include "../platform/WebPrivatePtr.h" |
36 #include "WebNavigationType.h" | 36 #include "WebNavigationType.h" |
37 | 37 |
38 #if BLINK_IMPLEMENTATION | 38 #if BLINK_IMPLEMENTATION |
39 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
40 #endif | 40 #endif |
41 | 41 |
42 namespace WebCore { class Performance; } | 42 namespace blink { class Performance; } |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class WebPerformance { | 46 class WebPerformance { |
47 public: | 47 public: |
48 ~WebPerformance() { reset(); } | 48 ~WebPerformance() { reset(); } |
49 | 49 |
50 WebPerformance() { } | 50 WebPerformance() { } |
51 | 51 |
52 WebPerformance(const WebPerformance& p) { assign(p); } | 52 WebPerformance(const WebPerformance& p) { assign(p); } |
(...skipping 26 matching lines...) Expand all Loading... |
79 BLINK_EXPORT double responseEnd() const; | 79 BLINK_EXPORT double responseEnd() const; |
80 BLINK_EXPORT double domLoading() const; | 80 BLINK_EXPORT double domLoading() const; |
81 BLINK_EXPORT double domInteractive() const; | 81 BLINK_EXPORT double domInteractive() const; |
82 BLINK_EXPORT double domContentLoadedEventStart() const; | 82 BLINK_EXPORT double domContentLoadedEventStart() const; |
83 BLINK_EXPORT double domContentLoadedEventEnd() const; | 83 BLINK_EXPORT double domContentLoadedEventEnd() const; |
84 BLINK_EXPORT double domComplete() const; | 84 BLINK_EXPORT double domComplete() const; |
85 BLINK_EXPORT double loadEventStart() const; | 85 BLINK_EXPORT double loadEventStart() const; |
86 BLINK_EXPORT double loadEventEnd() const; | 86 BLINK_EXPORT double loadEventEnd() const; |
87 | 87 |
88 #if BLINK_IMPLEMENTATION | 88 #if BLINK_IMPLEMENTATION |
89 WebPerformance(const PassRefPtrWillBeRawPtr<WebCore::Performance>&); | 89 WebPerformance(const PassRefPtrWillBeRawPtr<blink::Performance>&); |
90 WebPerformance& operator=(const PassRefPtrWillBeRawPtr<WebCore::Performance>
&); | 90 WebPerformance& operator=(const PassRefPtrWillBeRawPtr<blink::Performance>&)
; |
91 #endif | 91 #endif |
92 | 92 |
93 private: | 93 private: |
94 WebPrivatePtr<WebCore::Performance> m_private; | 94 WebPrivatePtr<blink::Performance> m_private; |
95 }; | 95 }; |
96 | 96 |
97 } // namespace blink | 97 } // namespace blink |
98 | 98 |
99 #endif | 99 #endif |
OLD | NEW |