Home
last modified time | relevance | path

Searched refs:markName (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/timing/
DPerformanceUserTiming.cpp101 void UserTiming::mark(const String& markName, ExceptionState& exceptionState) in mark() argument
103 if (restrictedKeyMap().contains(markName)) { in mark()
104 …exceptionState.throwDOMException(SyntaxError, "'" + markName + "' is part of the PerformanceTiming… in mark()
109 insertPerformanceEntry(m_marksMap, PerformanceMark::create(markName, startTime)); in mark()
113 void UserTiming::clearMarks(const String& markName) in clearMarks() argument
115 clearPeformanceEntries(m_marksMap, markName); in clearMarks()
118 double UserTiming::findExistingMarkStartTime(const String& markName, ExceptionState& exceptionState) in findExistingMarkStartTime() argument
120 if (m_marksMap.contains(markName)) in findExistingMarkStartTime()
121 return m_marksMap.get(markName).last()->startTime(); in findExistingMarkStartTime()
123 if (restrictedKeyMap().contains(markName)) { in findExistingMarkStartTime()
[all …]
DPerformanceUserTiming.h49 void mark(const String& markName, ExceptionState&);
50 void clearMarks(const String& markName);
64 double findExistingMarkStartTime(const String& markName, ExceptionState&);
DPerformance.idl51 [RaisesException,MeasureAs=UnprefixedUserTiming] void mark(DOMString markName);
52 …MeasureAs=UnprefixedUserTiming] void clearMarks([Default=NullString] optional DOMString markName);
57 …esException,DeprecateAs=PrefixedUserTiming,ImplementedAs=mark] void webkitMark(DOMString markName);
58 …ImplementedAs=clearMarks] void webkitClearMarks([Default=NullString] optional DOMString markName);
DPerformance.cpp247 void Performance::mark(const String& markName, ExceptionState& exceptionState) in mark() argument
251 m_userTiming->mark(markName, exceptionState); in mark()
254 void Performance::clearMarks(const String& markName) in clearMarks() argument
258 m_userTiming->clearMarks(markName); in clearMarks()
DPerformance.h81 void mark(const String& markName, ExceptionState&);
82 void clearMarks(const String& markName);