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

Side by Side Diff: Source/core/inspector/LayoutEditor.h

Issue 1305343003: Devtools [LayoutEditor]: Remove caching of the selector information (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master-w1
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/inspector/LayoutEditor.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/LayoutEditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698