| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 class Document; | 49 class Document; |
| 50 class ExceptionState; | 50 class ExceptionState; |
| 51 class ResourceTimingInfo; | 51 class ResourceTimingInfo; |
| 52 class UserTiming; | 52 class UserTiming; |
| 53 | 53 |
| 54 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>; | 54 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>; |
| 55 | 55 |
| 56 class CORE_EXPORT Performance final : public RefCountedGarbageCollectedEventTarg
etWithInlineData<Performance>, public DOMWindowProperty { | 56 class CORE_EXPORT Performance final : public RefCountedGarbageCollectedEventTarg
etWithInlineData<Performance>, public DOMWindowProperty { |
| 57 DEFINE_WRAPPERTYPEINFO(); | 57 DEFINE_WRAPPERTYPEINFO(); |
| 58 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<P
erformance>); | 58 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(Performance); |
| 59 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Performance); | 59 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Performance); |
| 60 public: | 60 public: |
| 61 static Performance* create(LocalFrame* frame) | 61 static Performance* create(LocalFrame* frame) |
| 62 { | 62 { |
| 63 return new Performance(frame); | 63 return new Performance(frame); |
| 64 } | 64 } |
| 65 virtual ~Performance(); | 65 virtual ~Performance(); |
| 66 | 66 |
| 67 virtual const AtomicString& interfaceName() const override; | 67 virtual const AtomicString& interfaceName() const override; |
| 68 virtual ExecutionContext* executionContext() const override; | 68 virtual ExecutionContext* executionContext() const override; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 unsigned m_resourceTimingBufferSize; | 118 unsigned m_resourceTimingBufferSize; |
| 119 double m_referenceTime; | 119 double m_referenceTime; |
| 120 | 120 |
| 121 Member<MemoryInfo> m_memoryInfo; | 121 Member<MemoryInfo> m_memoryInfo; |
| 122 Member<UserTiming> m_userTiming; | 122 Member<UserTiming> m_userTiming; |
| 123 }; | 123 }; |
| 124 | 124 |
| 125 } // namespace blink | 125 } // namespace blink |
| 126 | 126 |
| 127 #endif // Performance_h | 127 #endif // Performance_h |
| OLD | NEW |