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 12 matching lines...) Expand all Loading... |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 #include "core/inspector/InspectorCSSAgent.h" | 26 #include "core/inspector/InspectorCSSAgent.h" |
27 | 27 |
28 #include "CSSPropertyNames.h" | 28 #include "CSSPropertyNames.h" |
29 #include "InspectorTypeBuilder.h" | 29 #include "InspectorTypeBuilder.h" |
30 #include "core/css/CSSComputedStyleDeclaration.h" | 30 #include "core/css/CSSComputedStyleDeclaration.h" |
31 #include "core/css/CSSImportRule.h" | 31 #include "core/css/CSSImportRule.h" |
32 #include "core/css/CSSParser.h" | 32 #include "core/css/CSSParser.h" |
33 #include "core/css/CSSPropertySourceData.h" | |
34 #include "core/css/CSSRule.h" | 33 #include "core/css/CSSRule.h" |
35 #include "core/css/CSSRuleList.h" | 34 #include "core/css/CSSRuleList.h" |
36 #include "core/css/CSSStyleRule.h" | 35 #include "core/css/CSSStyleRule.h" |
37 #include "core/css/CSSStyleSheet.h" | 36 #include "core/css/CSSStyleSheet.h" |
38 #include "core/css/StylePropertySet.h" | 37 #include "core/css/StylePropertySet.h" |
39 #include "core/css/StylePropertyShorthand.h" | 38 #include "core/css/StylePropertyShorthand.h" |
40 #include "core/css/StyleRule.h" | 39 #include "core/css/StyleRule.h" |
41 #include "core/css/StyleSheet.h" | 40 #include "core/css/StyleSheet.h" |
42 #include "core/css/StyleSheetList.h" | 41 #include "core/css/StyleSheetList.h" |
43 #include "core/css/resolver/StyleResolver.h" | 42 #include "core/css/resolver/StyleResolver.h" |
44 #include "core/dom/ExceptionCodePlaceholder.h" | 43 #include "core/dom/ExceptionCodePlaceholder.h" |
45 #include "core/dom/NamedFlow.h" | 44 #include "core/dom/NamedFlow.h" |
46 #include "core/dom/NamedFlowCollection.h" | 45 #include "core/dom/NamedFlowCollection.h" |
47 #include "core/dom/Node.h" | 46 #include "core/dom/Node.h" |
48 #include "core/dom/NodeList.h" | 47 #include "core/dom/NodeList.h" |
49 #include "core/html/HTMLHeadElement.h" | 48 #include "core/html/HTMLHeadElement.h" |
50 #include "core/html/HTMLStyleElement.h" | |
51 #include "core/inspector/ContentSearchUtils.h" | 49 #include "core/inspector/ContentSearchUtils.h" |
52 #include "core/inspector/InspectorDOMAgent.h" | 50 #include "core/inspector/InspectorDOMAgent.h" |
53 #include "core/inspector/InspectorHistory.h" | 51 #include "core/inspector/InspectorHistory.h" |
54 #include "core/inspector/InspectorPageAgent.h" | 52 #include "core/inspector/InspectorPageAgent.h" |
55 #include "core/inspector/InspectorState.h" | 53 #include "core/inspector/InspectorState.h" |
56 #include "core/inspector/InspectorValues.h" | 54 #include "core/inspector/InspectorValues.h" |
57 #include "core/inspector/InstrumentingAgents.h" | 55 #include "core/inspector/InstrumentingAgents.h" |
58 #include "core/loader/DocumentLoader.h" | 56 #include "core/loader/DocumentLoader.h" |
59 #include "core/loader/cache/CachedResource.h" | 57 #include "core/loader/cache/CachedResource.h" |
60 #include "core/page/ContentSecurityPolicy.h" | 58 #include "core/page/ContentSecurityPolicy.h" |
61 #include "core/page/DOMWindow.h" | |
62 #include "core/rendering/RenderRegion.h" | 59 #include "core/rendering/RenderRegion.h" |
63 #include "core/svg/SVGStyleElement.h" | |
64 | 60 |
65 #include <wtf/CurrentTime.h> | 61 #include <wtf/CurrentTime.h> |
66 #include <wtf/HashSet.h> | 62 #include <wtf/HashSet.h> |
67 #include <wtf/text/CString.h> | 63 #include <wtf/text/CString.h> |
68 #include <wtf/text/StringConcatenate.h> | 64 #include <wtf/text/StringConcatenate.h> |
69 #include <wtf/Vector.h> | 65 #include <wtf/Vector.h> |
70 | 66 |
71 namespace CSSAgentState { | 67 namespace CSSAgentState { |
72 static const char cssAgentEnabled[] = "cssAgentEnabled"; | 68 static const char cssAgentEnabled[] = "cssAgentEnabled"; |
73 static const char isSelectorProfiling[] = "isSelectorProfiling"; | 69 static const char isSelectorProfiling[] = "isSelectorProfiling"; |
(...skipping 1497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1571 documentsToChange.add(element->ownerDocument()); | 1567 documentsToChange.add(element->ownerDocument()); |
1572 } | 1568 } |
1573 | 1569 |
1574 m_nodeIdToForcedPseudoState.clear(); | 1570 m_nodeIdToForcedPseudoState.clear(); |
1575 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu
mentsToChange.end(); it != end; ++it) | 1571 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu
mentsToChange.end(); it != end; ++it) |
1576 (*it)->styleResolverChanged(RecalcStyleImmediately); | 1572 (*it)->styleResolverChanged(RecalcStyleImmediately); |
1577 } | 1573 } |
1578 | 1574 |
1579 } // namespace WebCore | 1575 } // namespace WebCore |
1580 | 1576 |
OLD | NEW |