| 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 13 matching lines...) Expand all Loading... |
| 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/CSSMediaRule.h" | 32 #include "core/css/CSSMediaRule.h" |
| 33 #include "core/css/CSSParser.h" | 33 #include "core/css/CSSParser.h" |
| 34 #include "core/css/CSSPropertySourceData.h" | |
| 35 #include "core/css/CSSRule.h" | 34 #include "core/css/CSSRule.h" |
| 36 #include "core/css/CSSRuleList.h" | 35 #include "core/css/CSSRuleList.h" |
| 37 #include "core/css/CSSStyleRule.h" | 36 #include "core/css/CSSStyleRule.h" |
| 38 #include "core/css/CSSStyleSheet.h" | 37 #include "core/css/CSSStyleSheet.h" |
| 39 #include "core/css/MediaList.h" | 38 #include "core/css/MediaList.h" |
| 40 #include "core/css/StylePropertySet.h" | 39 #include "core/css/StylePropertySet.h" |
| 41 #include "core/css/StylePropertyShorthand.h" | 40 #include "core/css/StylePropertyShorthand.h" |
| 42 #include "core/css/StyleRule.h" | 41 #include "core/css/StyleRule.h" |
| 43 #include "core/css/StyleSheet.h" | 42 #include "core/css/StyleSheet.h" |
| 44 #include "core/css/StyleSheetContents.h" | 43 #include "core/css/StyleSheetContents.h" |
| 45 #include "core/css/StyleSheetList.h" | 44 #include "core/css/StyleSheetList.h" |
| 46 #include "core/css/resolver/StyleResolver.h" | 45 #include "core/css/resolver/StyleResolver.h" |
| 47 #include "core/dom/ExceptionCodePlaceholder.h" | 46 #include "core/dom/ExceptionCodePlaceholder.h" |
| 48 #include "core/dom/NamedFlow.h" | 47 #include "core/dom/NamedFlow.h" |
| 49 #include "core/dom/NamedFlowCollection.h" | 48 #include "core/dom/NamedFlowCollection.h" |
| 50 #include "core/dom/Node.h" | 49 #include "core/dom/Node.h" |
| 51 #include "core/dom/NodeList.h" | 50 #include "core/dom/NodeList.h" |
| 52 #include "core/html/HTMLHeadElement.h" | 51 #include "core/html/HTMLHeadElement.h" |
| 53 #include "core/inspector/ContentSearchUtils.h" | |
| 54 #include "core/inspector/InspectorDOMAgent.h" | 52 #include "core/inspector/InspectorDOMAgent.h" |
| 55 #include "core/inspector/InspectorHistory.h" | 53 #include "core/inspector/InspectorHistory.h" |
| 56 #include "core/inspector/InspectorPageAgent.h" | 54 #include "core/inspector/InspectorPageAgent.h" |
| 57 #include "core/inspector/InspectorState.h" | 55 #include "core/inspector/InspectorState.h" |
| 58 #include "core/inspector/InstrumentingAgents.h" | 56 #include "core/inspector/InstrumentingAgents.h" |
| 59 #include "core/loader/DocumentLoader.h" | 57 #include "core/loader/DocumentLoader.h" |
| 60 #include "core/loader/cache/CachedResource.h" | |
| 61 #include "core/page/ContentSecurityPolicy.h" | 58 #include "core/page/ContentSecurityPolicy.h" |
| 62 #include "core/platform/JSONValues.h" | 59 #include "core/platform/JSONValues.h" |
| 63 #include "core/rendering/RenderRegion.h" | 60 #include "core/rendering/RenderRegion.h" |
| 64 #include "wtf/CurrentTime.h" | 61 #include "wtf/CurrentTime.h" |
| 65 #include "wtf/HashSet.h" | 62 #include "wtf/HashSet.h" |
| 66 #include "wtf/Vector.h" | 63 #include "wtf/Vector.h" |
| 67 #include "wtf/text/CString.h" | 64 #include "wtf/text/CString.h" |
| 68 #include "wtf/text/StringConcatenate.h" | 65 #include "wtf/text/StringConcatenate.h" |
| 69 | 66 |
| 70 namespace CSSAgentState { | 67 namespace CSSAgentState { |
| (...skipping 1648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1719 documentsToChange.add(element->ownerDocument()); | 1716 documentsToChange.add(element->ownerDocument()); |
| 1720 } | 1717 } |
| 1721 | 1718 |
| 1722 m_nodeIdToForcedPseudoState.clear(); | 1719 m_nodeIdToForcedPseudoState.clear(); |
| 1723 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu
mentsToChange.end(); it != end; ++it) | 1720 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu
mentsToChange.end(); it != end; ++it) |
| 1724 (*it)->styleResolverChanged(RecalcStyleImmediately); | 1721 (*it)->styleResolverChanged(RecalcStyleImmediately); |
| 1725 } | 1722 } |
| 1726 | 1723 |
| 1727 } // namespace WebCore | 1724 } // namespace WebCore |
| 1728 | 1725 |
| OLD | NEW |