| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 52 class UserTiming; | 52 class UserTiming; | 
| 53 | 53 | 
| 54 class Performance : public RefCountedGarbageCollected<Performance>, public Scrip
     tWrappable, public DOMWindowProperty, public EventTarget { | 54 class Performance : public RefCountedGarbageCollected<Performance>, public Scrip
     tWrappable, public DOMWindowProperty, public EventTarget { | 
| 55     DECLARE_GC_INFO | 55     DECLARE_GC_INFO | 
| 56 public: | 56 public: | 
| 57     static PassRefPtr<Performance> create(Frame* frame) { return adoptRef(new Pe
     rformance(frame)); } | 57     static PassRefPtr<Performance> create(Frame* frame) { return adoptRef(new Pe
     rformance(frame)); } | 
| 58     ~Performance(); | 58     ~Performance(); | 
| 59 | 59 | 
| 60     virtual void trace(Visitor*) { } | 60     virtual void trace(Visitor*) { } | 
| 61 | 61 | 
| 62     virtual void visitWith(Visitor* visitor) const OVERRIDE | 62     virtual void adjustAndMark(Visitor* visitor) const OVERRIDE | 
| 63     { | 63     { | 
| 64         visitor->visit(this); | 64         visitor->mark(this); | 
| 65     } | 65     } | 
| 66 | 66 | 
| 67     virtual const AtomicString& interfaceName() const; | 67     virtual const AtomicString& interfaceName() const; | 
| 68     virtual ScriptExecutionContext* scriptExecutionContext() const; | 68     virtual ScriptExecutionContext* scriptExecutionContext() const; | 
| 69 | 69 | 
| 70     PassRefPtr<MemoryInfo> memory() const; | 70     PassRefPtr<MemoryInfo> memory() const; | 
| 71     PerformanceNavigation* navigation() const; | 71     PerformanceNavigation* navigation() const; | 
| 72     PerformanceTiming* timing() const; | 72     PerformanceTiming* timing() const; | 
| 73     double now() const; | 73     double now() const; | 
| 74 | 74 | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 106 | 106 | 
| 107     Vector<RefPtr<PerformanceEntry> > m_resourceTimingBuffer; | 107     Vector<RefPtr<PerformanceEntry> > m_resourceTimingBuffer; | 
| 108     unsigned m_resourceTimingBufferSize; | 108     unsigned m_resourceTimingBufferSize; | 
| 109 | 109 | 
| 110     RefPtr<UserTiming> m_userTiming; | 110     RefPtr<UserTiming> m_userTiming; | 
| 111 }; | 111 }; | 
| 112 | 112 | 
| 113 } | 113 } | 
| 114 | 114 | 
| 115 #endif // Performance_h | 115 #endif // Performance_h | 
| OLD | NEW | 
|---|