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

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

Issue 2296323002: DevTools: Add features to collect classnames from Stylesheets and DOM (Closed)
Patch Set: DevTools: Add features to collect classnames from Stylesheets and DOM Created 4 years, 3 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/InspectorStyleSheet.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.h b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.h
index 8bfdba6a75ba7fefa85863ed8ff7a0485a812d81..e4cc7c3bcd7f077f341769ee44af38d212127727 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.h
@@ -135,7 +135,7 @@ public:
CSSMediaRule* setMediaRuleText(const SourceRange&, const String& selector, SourceRange* newRange, String* oldSelector, ExceptionState&);
CSSStyleRule* addRule(const String& ruleText, const SourceRange& location, SourceRange* addedRange, ExceptionState&);
bool deleteRule(const SourceRange&, ExceptionState&);
-
+ std::unique_ptr<protocol::Array<String>> collectClassNames();
CSSStyleSheet* pageStyleSheet() { return m_pageStyleSheet.get(); }
std::unique_ptr<protocol::CSS::CSSStyleSheetHeader> buildObjectForStyleSheetInfo();
@@ -145,7 +145,6 @@ public:
std::unique_ptr<protocol::CSS::SourceRange> ruleHeaderSourceRange(CSSRule*);
std::unique_ptr<protocol::CSS::SourceRange> mediaQueryExpValueSourceRange(CSSRule*, size_t mediaQueryIndex, size_t mediaQueryExpIndex);
-
bool isInlineStyle() override { return false; }
const CSSRuleVector& flatRules();
CSSRuleSourceData* sourceDataForRule(CSSRule*);

Powered by Google App Engine
This is Rietveld 408576698