Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: third_party/WebKit/Source/core/timing/PerformanceBase.h

Issue 2515993002: Replace DOMWindow with iframe attrs: src, id, name (Closed)
Patch Set: don't truncate ID Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void setResourceTimingBufferSize(unsigned); 88 void setResourceTimingBufferSize(unsigned);
89 89
90 DEFINE_ATTRIBUTE_EVENT_LISTENER(resourcetimingbufferfull); 90 DEFINE_ATTRIBUTE_EVENT_LISTENER(resourcetimingbufferfull);
91 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitresourcetimingbufferfull); 91 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitresourcetimingbufferfull);
92 92
93 void clearFrameTimings(); 93 void clearFrameTimings();
94 void setFrameTimingBufferSize(unsigned); 94 void setFrameTimingBufferSize(unsigned);
95 95
96 DEFINE_ATTRIBUTE_EVENT_LISTENER(frametimingbufferfull); 96 DEFINE_ATTRIBUTE_EVENT_LISTENER(frametimingbufferfull);
97 97
98 void addLongTaskTiming(double, double, const String&, DOMWindow*); 98 void addLongTaskTiming(double startTime,
99 double endTime,
100 const String& name,
101 const String& culpritFrameSrc,
102 const String& culpritFrameId,
103 const String& culpritFrameName);
99 104
100 void addResourceTiming(const ResourceTimingInfo&); 105 void addResourceTiming(const ResourceTimingInfo&);
101 106
102 void mark(const String& markName, ExceptionState&); 107 void mark(const String& markName, ExceptionState&);
103 void clearMarks(const String& markName); 108 void clearMarks(const String& markName);
104 109
105 void measure(const String& measureName, 110 void measure(const String& measureName,
106 const String& startMark, 111 const String& startMark,
107 const String& endMark, 112 const String& endMark,
108 ExceptionState&); 113 ExceptionState&);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 PerformanceEntryTypeMask m_observerFilterOptions; 146 PerformanceEntryTypeMask m_observerFilterOptions;
142 PerformanceObservers m_observers; 147 PerformanceObservers m_observers;
143 PerformanceObservers m_activeObservers; 148 PerformanceObservers m_activeObservers;
144 PerformanceObservers m_suspendedObservers; 149 PerformanceObservers m_suspendedObservers;
145 Timer<PerformanceBase> m_deliverObservationsTimer; 150 Timer<PerformanceBase> m_deliverObservationsTimer;
146 }; 151 };
147 152
148 } // namespace blink 153 } // namespace blink
149 154
150 #endif // PerformanceBase_h 155 #endif // PerformanceBase_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/timing/Performance.cpp ('k') | third_party/WebKit/Source/core/timing/PerformanceBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698