| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef InspectorTraceEvents_h | 5 #ifndef InspectorTraceEvents_h |
| 6 #define InspectorTraceEvents_h | 6 #define InspectorTraceEvents_h |
| 7 | 7 |
| 8 #include "core/css/CSSSelector.h" | 8 #include "core/css/CSSSelector.h" |
| 9 #include "platform/EventTracer.h" | 9 #include "platform/EventTracer.h" |
| 10 #include "platform/TraceEvent.h" | 10 #include "platform/TraceEvent.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 static const char ElementHasPendingInvalidationList[]; | 81 static const char ElementHasPendingInvalidationList[]; |
| 82 static const char InvalidateCustomPseudo[]; | 82 static const char InvalidateCustomPseudo[]; |
| 83 static const char InvalidationSetMatchedAttribute[]; | 83 static const char InvalidationSetMatchedAttribute[]; |
| 84 static const char InvalidationSetMatchedClass[]; | 84 static const char InvalidationSetMatchedClass[]; |
| 85 static const char InvalidationSetMatchedId[]; | 85 static const char InvalidationSetMatchedId[]; |
| 86 static const char InvalidationSetMatchedTagName[]; | 86 static const char InvalidationSetMatchedTagName[]; |
| 87 static const char PreventStyleSharingForParent[]; | 87 static const char PreventStyleSharingForParent[]; |
| 88 | 88 |
| 89 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Element&, const
char* reason); | 89 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Element&, const
char* reason); |
| 90 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> selectorPart(Element
&, const char* reason, const DescendantInvalidationSet&, const String&); | 90 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> selectorPart(Element
&, const char* reason, const DescendantInvalidationSet&, const String&); |
| 91 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> invalidationList(Ele
ment&, const WillBeHeapVector<RefPtrWillBeMember<DescendantInvalidationSet> >&); | 91 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> invalidationList(Ele
ment&, const WillBeHeapVector<RefPtrWillBeMember<DescendantInvalidationSet>>&); |
| 92 | 92 |
| 93 private: | 93 private: |
| 94 static PassRefPtr<TracedValue> fillCommonPart(Element&, const char* reason); | 94 static PassRefPtr<TracedValue> fillCommonPart(Element&, const char* reason); |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 #define TRACE_STYLE_INVALIDATOR_INVALIDATION(element, reason) \ | 97 #define TRACE_STYLE_INVALIDATOR_INVALIDATION(element, reason) \ |
| 98 TRACE_EVENT_INSTANT1( \ | 98 TRACE_EVENT_INSTANT1( \ |
| 99 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"), \ | 99 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"), \ |
| 100 "StyleInvalidatorInvalidationTracking", \ | 100 "StyleInvalidatorInvalidationTracking", \ |
| 101 "data", \ | 101 "data", \ |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 299 |
| 300 class InspectorAnimationStateEvent { | 300 class InspectorAnimationStateEvent { |
| 301 public: | 301 public: |
| 302 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Animation
Player&); | 302 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Animation
Player&); |
| 303 }; | 303 }; |
| 304 | 304 |
| 305 } // namespace blink | 305 } // namespace blink |
| 306 | 306 |
| 307 | 307 |
| 308 #endif // !defined(InspectorTraceEvents_h) | 308 #endif // !defined(InspectorTraceEvents_h) |
| OLD | NEW |