| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 class DocumentLoadTiming; | 42 class DocumentLoadTiming; |
| 43 class DocumentLoader; | 43 class DocumentLoader; |
| 44 class DocumentParserTiming; | 44 class DocumentParserTiming; |
| 45 class DocumentTiming; | 45 class DocumentTiming; |
| 46 class LocalFrame; | 46 class LocalFrame; |
| 47 class PaintTiming; | 47 class PaintTiming; |
| 48 class ResourceLoadTiming; | 48 class ResourceLoadTiming; |
| 49 class ScriptState; | 49 class ScriptState; |
| 50 class ScriptValue; | 50 class ScriptValue; |
| 51 | 51 |
| 52 // Legacy support for NT1(https://www.w3.org/TR/navigation-timing/). |
| 52 class CORE_EXPORT PerformanceTiming final | 53 class CORE_EXPORT PerformanceTiming final |
| 53 : public GarbageCollected<PerformanceTiming>, | 54 : public GarbageCollected<PerformanceTiming>, |
| 54 public ScriptWrappable, | 55 public ScriptWrappable, |
| 55 public DOMWindowProperty { | 56 public DOMWindowProperty { |
| 56 DEFINE_WRAPPERTYPEINFO(); | 57 DEFINE_WRAPPERTYPEINFO(); |
| 57 USING_GARBAGE_COLLECTED_MIXIN(PerformanceTiming); | 58 USING_GARBAGE_COLLECTED_MIXIN(PerformanceTiming); |
| 58 | 59 |
| 59 public: | 60 public: |
| 60 static PerformanceTiming* create(LocalFrame* frame) { | 61 static PerformanceTiming* create(LocalFrame* frame) { |
| 61 return new PerformanceTiming(frame); | 62 return new PerformanceTiming(frame); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 const DocumentParserTiming* documentParserTiming() const; | 128 const DocumentParserTiming* documentParserTiming() const; |
| 128 const PaintTiming* paintTiming() const; | 129 const PaintTiming* paintTiming() const; |
| 129 DocumentLoader* documentLoader() const; | 130 DocumentLoader* documentLoader() const; |
| 130 DocumentLoadTiming* documentLoadTiming() const; | 131 DocumentLoadTiming* documentLoadTiming() const; |
| 131 ResourceLoadTiming* resourceLoadTiming() const; | 132 ResourceLoadTiming* resourceLoadTiming() const; |
| 132 }; | 133 }; |
| 133 | 134 |
| 134 } // namespace blink | 135 } // namespace blink |
| 135 | 136 |
| 136 #endif // PerformanceTiming_h | 137 #endif // PerformanceTiming_h |
| OLD | NEW |