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

Unified Diff: Source/core/inspector/InspectorCSSAgent.h

Issue 1310923003: Devtools [LayoutEditor]: Patch values in the selected rule (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@medias
Patch Set: Rebase Created 5 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: Source/core/inspector/InspectorCSSAgent.h
diff --git a/Source/core/inspector/InspectorCSSAgent.h b/Source/core/inspector/InspectorCSSAgent.h
index 638a7c4d3449d1daabc4ff278480f71c66a2b488..310a6631d0159ed836dfdd17123d93b8c5178713 100644
--- a/Source/core/inspector/InspectorCSSAgent.h
+++ b/Source/core/inspector/InspectorCSSAgent.h
@@ -146,7 +146,8 @@ public:
PassRefPtr<TypeBuilder::CSS::CSSMedia> buildMediaObject(const MediaList*, MediaListSource, const String&, CSSStyleSheet*);
PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSMedia> > buildMediaListChain(CSSRule*);
PassRefPtrWillBeRawPtr<CSSStyleDeclaration> findEffectiveDeclaration(Element*, CSSPropertyID);
-
+ void setCSSPropertyValueInRule(ErrorString*, Element*, CSSStyleRule*, CSSPropertyID, const String&);
dgozman 2015/09/02 22:26:17 const String& value
sergeyv 2015/09/03 00:52:28 Done.
+ PassRefPtrWillBeRawPtr<CSSRuleList> matchedRulesList(Element*);
private:
class StyleSheetAction;
class SetStyleSheetTextAction;
@@ -197,6 +198,8 @@ private:
void didReparseStyleSheet() override;
void resetPseudoStates();
+ void setCSSPropertyValue(ErrorString*, Element*, CSSStyleDeclaration*, CSSPropertyID, const String&, bool forceImportant = false);
+ PassRefPtrWillBeRawPtr<CSSStyleDeclaration> findEffectiveDeclaration(CSSPropertyID, CSSRuleList*, CSSStyleDeclaration*);
dgozman 2015/09/02 22:26:17 CSSRuleList* matchedRules, CSSStyleDeclaration* in
sergeyv 2015/09/03 00:52:28 Done.
RawPtrWillBeMember<InspectorDOMAgent> m_domAgent;
RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
« no previous file with comments | « no previous file | Source/core/inspector/InspectorCSSAgent.cpp » ('j') | Source/core/inspector/InspectorCSSAgent.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698