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 30 matching lines...) Expand all Loading... |
41 #include "core/css/MediaList.h" | 41 #include "core/css/MediaList.h" |
42 #include "core/css/MediaQuery.h" | 42 #include "core/css/MediaQuery.h" |
43 #include "core/css/MediaValues.h" | 43 #include "core/css/MediaValues.h" |
44 #include "core/css/StylePropertySet.h" | 44 #include "core/css/StylePropertySet.h" |
45 #include "core/css/StyleRule.h" | 45 #include "core/css/StyleRule.h" |
46 #include "core/css/StyleSheet.h" | 46 #include "core/css/StyleSheet.h" |
47 #include "core/css/StyleSheetContents.h" | 47 #include "core/css/StyleSheetContents.h" |
48 #include "core/css/StyleSheetList.h" | 48 #include "core/css/StyleSheetList.h" |
49 #include "core/css/resolver/StyleResolver.h" | 49 #include "core/css/resolver/StyleResolver.h" |
50 #include "core/dom/Node.h" | 50 #include "core/dom/Node.h" |
| 51 #include "core/dom/StyleEngine.h" |
51 #include "core/frame/LocalFrame.h" | 52 #include "core/frame/LocalFrame.h" |
52 #include "core/html/HTMLHeadElement.h" | 53 #include "core/html/HTMLHeadElement.h" |
53 #include "core/html/VoidCallback.h" | 54 #include "core/html/VoidCallback.h" |
54 #include "core/inspector/InspectorHistory.h" | 55 #include "core/inspector/InspectorHistory.h" |
55 #include "core/inspector/InspectorPageAgent.h" | 56 #include "core/inspector/InspectorPageAgent.h" |
56 #include "core/inspector/InspectorResourceAgent.h" | 57 #include "core/inspector/InspectorResourceAgent.h" |
57 #include "core/inspector/InspectorResourceContentLoader.h" | 58 #include "core/inspector/InspectorResourceContentLoader.h" |
58 #include "core/inspector/InspectorState.h" | 59 #include "core/inspector/InspectorState.h" |
59 #include "core/inspector/InstrumentingAgents.h" | 60 #include "core/inspector/InstrumentingAgents.h" |
60 #include "core/loader/DocumentLoader.h" | 61 #include "core/loader/DocumentLoader.h" |
(...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1399 documentsToChange.add(element->ownerDocument()); | 1400 documentsToChange.add(element->ownerDocument()); |
1400 } | 1401 } |
1401 | 1402 |
1402 m_nodeIdToForcedPseudoState.clear(); | 1403 m_nodeIdToForcedPseudoState.clear(); |
1403 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu
mentsToChange.end(); it != end; ++it) | 1404 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu
mentsToChange.end(); it != end; ++it) |
1404 (*it)->setNeedsStyleRecalc(SubtreeStyleChange); | 1405 (*it)->setNeedsStyleRecalc(SubtreeStyleChange); |
1405 } | 1406 } |
1406 | 1407 |
1407 } // namespace WebCore | 1408 } // namespace WebCore |
1408 | 1409 |
OLD | NEW |