| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 void webkitClearResourceTimings(); | 69 void webkitClearResourceTimings(); |
| 70 void webkitSetResourceTimingBufferSize(unsigned); | 70 void webkitSetResourceTimingBufferSize(unsigned); |
| 71 | 71 |
| 72 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitresourcetimingbufferfull); | 72 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitresourcetimingbufferfull); |
| 73 | 73 |
| 74 void clearFrameTimings(); | 74 void clearFrameTimings(); |
| 75 void setFrameTimingBufferSize(unsigned); | 75 void setFrameTimingBufferSize(unsigned); |
| 76 | 76 |
| 77 DEFINE_ATTRIBUTE_EVENT_LISTENER(frametimingbufferfull); | 77 DEFINE_ATTRIBUTE_EVENT_LISTENER(frametimingbufferfull); |
| 78 | 78 |
| 79 void addResourceTiming(const ResourceTimingInfo&, Document*); | 79 void addResourceTiming(const ResourceTimingInfo&); |
| 80 | 80 |
| 81 void addRenderTiming(Document*, unsigned, double, double); | 81 void addRenderTiming(Document*, unsigned, double, double); |
| 82 | 82 |
| 83 void addCompositeTiming(Document*, unsigned, double); | 83 void addCompositeTiming(Document*, unsigned, double); |
| 84 | 84 |
| 85 void mark(const String& markName, ExceptionState&); | 85 void mark(const String& markName, ExceptionState&); |
| 86 void clearMarks(const String& markName); | 86 void clearMarks(const String& markName); |
| 87 | 87 |
| 88 void measure(const String& measureName, const String& startMark, const Strin
g& endMark, ExceptionState&); | 88 void measure(const String& measureName, const String& startMark, const Strin
g& endMark, ExceptionState&); |
| 89 void clearMeasures(const String& measureName); | 89 void clearMeasures(const String& measureName); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 103 PerformanceEntryVector m_resourceTimingBuffer; | 103 PerformanceEntryVector m_resourceTimingBuffer; |
| 104 unsigned m_resourceTimingBufferSize; | 104 unsigned m_resourceTimingBufferSize; |
| 105 double m_timeOrigin; | 105 double m_timeOrigin; |
| 106 | 106 |
| 107 Member<UserTiming> m_userTiming; | 107 Member<UserTiming> m_userTiming; |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 } // namespace blink | 110 } // namespace blink |
| 111 | 111 |
| 112 #endif // PerformanceBase_h | 112 #endif // PerformanceBase_h |
| OLD | NEW |