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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h

Issue 2699883002: Add type selector invalidation set for ruleset invalidations. (Closed)
Patch Set: Created 3 years, 10 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h
index 745f786fafa94a02979e8af8a3e4404fb28c6d30..d23afe2a63c17be9c077bb87b9f962fbe672ed95 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h
@@ -65,6 +65,7 @@ extern const char Attribute[];
extern const char Class[];
extern const char Id[];
extern const char Pseudo[];
+extern const char RuleSet[];
std::unique_ptr<TracedValue> attributeChange(Element&,
const InvalidationSet&,
@@ -78,6 +79,8 @@ std::unique_ptr<TracedValue> idChange(Element&,
std::unique_ptr<TracedValue> pseudoChange(Element&,
const InvalidationSet&,
CSSSelector::PseudoType);
+std::unique_ptr<TracedValue> ruleSetInvalidation(ContainerNode&,
+ const InvalidationSet&);
} // namespace InspectorScheduleStyleInvalidationTrackingEvent
#define TRACE_SCHEDULE_STYLE_INVALIDATION(element, invalidationSet, \
@@ -86,7 +89,7 @@ std::unique_ptr<TracedValue> pseudoChange(Element&,
TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"), \
"ScheduleStyleInvalidationTracking", TRACE_EVENT_SCOPE_THREAD, "data", \
InspectorScheduleStyleInvalidationTrackingEvent::changeType( \
- (element), (invalidationSet), __VA_ARGS__));
+ (element), (invalidationSet), ##__VA_ARGS__));
namespace InspectorStyleRecalcInvalidationTrackingEvent {
std::unique_ptr<TracedValue> data(Node*, const StyleChangeReasonForTracing&);
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698