| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 std::unique_ptr<protocol::Array<protocol::CSS::RuleMatch>> buildArrayForMatc
hedRuleList(CSSRuleList*, Element*, PseudoId); | 193 std::unique_ptr<protocol::Array<protocol::CSS::RuleMatch>> buildArrayForMatc
hedRuleList(CSSRuleList*, Element*, PseudoId); |
| 194 std::unique_ptr<protocol::CSS::CSSStyle> buildObjectForAttributesStyle(Eleme
nt*); | 194 std::unique_ptr<protocol::CSS::CSSStyle> buildObjectForAttributesStyle(Eleme
nt*); |
| 195 | 195 |
| 196 // InspectorDOMAgent::DOMListener implementation | 196 // InspectorDOMAgent::DOMListener implementation |
| 197 void didRemoveDocument(Document*) override; | 197 void didRemoveDocument(Document*) override; |
| 198 void didRemoveDOMNode(Node*) override; | 198 void didRemoveDOMNode(Node*) override; |
| 199 void didModifyDOMAttr(Element*) override; | 199 void didModifyDOMAttr(Element*) override; |
| 200 | 200 |
| 201 // InspectorStyleSheet::Listener implementation | 201 // InspectorStyleSheet::Listener implementation |
| 202 void styleSheetChanged(InspectorStyleSheetBase*) override; | 202 void styleSheetChanged(InspectorStyleSheetBase*) override; |
| 203 void willReparseStyleSheet() override; | |
| 204 void didReparseStyleSheet() override; | |
| 205 | 203 |
| 206 void resetPseudoStates(); | 204 void resetPseudoStates(); |
| 207 | 205 |
| 208 Member<InspectorDOMAgent> m_domAgent; | 206 Member<InspectorDOMAgent> m_domAgent; |
| 209 Member<InspectedFrames> m_inspectedFrames; | 207 Member<InspectedFrames> m_inspectedFrames; |
| 210 Member<InspectorNetworkAgent> m_networkAgent; | 208 Member<InspectorNetworkAgent> m_networkAgent; |
| 211 Member<InspectorResourceContentLoader> m_resourceContentLoader; | 209 Member<InspectorResourceContentLoader> m_resourceContentLoader; |
| 212 Member<InspectorResourceContainer> m_resourceContainer; | 210 Member<InspectorResourceContainer> m_resourceContainer; |
| 213 | 211 |
| 214 IdToInspectorStyleSheet m_idToInspectorStyleSheet; | 212 IdToInspectorStyleSheet m_idToInspectorStyleSheet; |
| 215 IdToInspectorStyleSheetForInlineStyle m_idToInspectorStyleSheetForInlineStyl
e; | 213 IdToInspectorStyleSheetForInlineStyle m_idToInspectorStyleSheetForInlineStyl
e; |
| 216 HeapHashMap<Member<CSSStyleSheet>, Member<InspectorStyleSheet>> m_cssStyleSh
eetToInspectorStyleSheet; | 214 HeapHashMap<Member<CSSStyleSheet>, Member<InspectorStyleSheet>> m_cssStyleSh
eetToInspectorStyleSheet; |
| 217 typedef HeapHashMap<Member<Document>, Member<HeapHashSet<Member<CSSStyleShee
t>>>> DocumentStyleSheets; | 215 typedef HeapHashMap<Member<Document>, Member<HeapHashSet<Member<CSSStyleShee
t>>>> DocumentStyleSheets; |
| 218 DocumentStyleSheets m_documentToCSSStyleSheets; | 216 DocumentStyleSheets m_documentToCSSStyleSheets; |
| 219 HeapHashSet<Member<Document>> m_invalidatedDocuments; | 217 HeapHashSet<Member<Document>> m_invalidatedDocuments; |
| 220 | 218 |
| 221 NodeToInspectorStyleSheet m_nodeToInspectorStyleSheet; | 219 NodeToInspectorStyleSheet m_nodeToInspectorStyleSheet; |
| 222 NodeIdToForcedPseudoState m_nodeIdToForcedPseudoState; | 220 NodeIdToForcedPseudoState m_nodeIdToForcedPseudoState; |
| 223 | 221 |
| 224 Member<CSSStyleSheet> m_inspectorUserAgentStyleSheet; | 222 Member<CSSStyleSheet> m_inspectorUserAgentStyleSheet; |
| 225 | 223 |
| 226 bool m_isSettingStyleSheetText; | |
| 227 int m_resourceContentLoaderClientId; | 224 int m_resourceContentLoaderClientId; |
| 228 | 225 |
| 229 friend class InspectorResourceContentLoaderCallback; | 226 friend class InspectorResourceContentLoaderCallback; |
| 230 friend class StyleSheetBinder; | 227 friend class StyleSheetBinder; |
| 231 }; | 228 }; |
| 232 | 229 |
| 233 | 230 |
| 234 } // namespace blink | 231 } // namespace blink |
| 235 | 232 |
| 236 #endif // !defined(InspectorCSSAgent_h) | 233 #endif // !defined(InspectorCSSAgent_h) |
| OLD | NEW |