Index: Source/core/inspector/LayoutEditor.h |
diff --git a/Source/core/inspector/LayoutEditor.h b/Source/core/inspector/LayoutEditor.h |
index a549992460355bce5dea9fadebc0fbc3cdb757be..5a8aa209c50e6867982b7c6237d3b5c92e1ab4b7 100644 |
--- a/Source/core/inspector/LayoutEditor.h |
+++ b/Source/core/inspector/LayoutEditor.h |
@@ -8,6 +8,7 @@ |
#include "core/CSSPropertyNames.h" |
#include "core/CoreExport.h" |
#include "core/css/CSSPrimitiveValue.h" |
+#include "core/css/CSSStyleRule.h" |
#include "core/dom/Element.h" |
#include "platform/heap/Handle.h" |
#include "wtf/PassOwnPtr.h" |
@@ -36,6 +37,9 @@ public: |
void overlayPropertyChanged(float); |
void overlayEndedPropertyChange(); |
void clearSelection(bool); |
+ void nextSelector(); |
+ void previousSelector(); |
+ String currentSelectorInfo(); |
DECLARE_TRACE(); |
@@ -44,6 +48,7 @@ private: |
RefPtrWillBeRawPtr<CSSPrimitiveValue> getPropertyCSSValue(CSSPropertyID) const; |
PassRefPtr<JSONObject> createValueDescription(const String&) const; |
void appendAnchorFor(JSONArray*, const String&, const String&, const FloatPoint&, const FloatPoint&) const; |
+ void initializeCSSRules(); |
RefPtrWillBeMember<Element> m_element; |
RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent; |
@@ -53,6 +58,9 @@ private: |
float m_factor; |
CSSPrimitiveValue::UnitType m_valueUnitType; |
bool m_isDirty; |
+ |
+ WillBeHeapVector<RefPtrWillBeMember<CSSStyleRule>> m_matchedRules; |
+ int m_currentRuleIndex; |
dgozman
2015/09/02 18:58:57
Comment that -1 means inline style.
sergeyv
2015/09/02 20:22:18
Done.
|
}; |
} // namespace blink |