OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 LayoutEditor_h | 5 #ifndef LayoutEditor_h |
6 #define LayoutEditor_h | 6 #define LayoutEditor_h |
7 | 7 |
8 #include "core/CSSPropertyNames.h" | 8 #include "core/CSSPropertyNames.h" |
9 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
10 #include "core/css/CSSPrimitiveValue.h" | 10 #include "core/css/CSSPrimitiveValue.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 RefPtrWillBeMember<Element> m_element; | 54 RefPtrWillBeMember<Element> m_element; |
55 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent; | 55 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent; |
56 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; | 56 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; |
57 CSSPropertyID m_changingProperty; | 57 CSSPropertyID m_changingProperty; |
58 float m_propertyInitialValue; | 58 float m_propertyInitialValue; |
59 float m_factor; | 59 float m_factor; |
60 CSSPrimitiveValue::UnitType m_valueUnitType; | 60 CSSPrimitiveValue::UnitType m_valueUnitType; |
61 bool m_isDirty; | 61 bool m_isDirty; |
62 | 62 |
63 WillBeHeapVector<RefPtrWillBeMember<CSSStyleRule>> m_matchedRules; | 63 WillBeHeapVector<RefPtrWillBeMember<CSSStyleRule>> m_matchedRules; |
64 HashMap<int, String> m_cachedSelectorsInfo; | |
65 // -1 means "inline style". | 64 // -1 means "inline style". |
66 int m_currentRuleIndex; | 65 int m_currentRuleIndex; |
67 }; | 66 }; |
68 | 67 |
69 } // namespace blink | 68 } // namespace blink |
70 | 69 |
71 | 70 |
72 #endif // !defined(LayoutEditor_h) | 71 #endif // !defined(LayoutEditor_h) |
OLD | NEW |