| 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" |
| 61 #include "core/page/Page.h" | 62 #include "core/page/Page.h" |
| 62 #include "core/rendering/InlineTextBox.h" | 63 #include "core/rendering/InlineTextBox.h" |
| 63 #include "core/rendering/RenderObject.h" | 64 #include "core/rendering/RenderObject.h" |
| 65 #include "core/rendering/RenderObjectStyle.h" |
| 64 #include "core/rendering/RenderText.h" | 66 #include "core/rendering/RenderText.h" |
| 65 #include "core/rendering/RenderTextFragment.h" | 67 #include "core/rendering/RenderTextFragment.h" |
| 66 #include "platform/fonts/Font.h" | 68 #include "platform/fonts/Font.h" |
| 67 #include "platform/fonts/GlyphBuffer.h" | 69 #include "platform/fonts/GlyphBuffer.h" |
| 68 #include "platform/fonts/WidthIterator.h" | 70 #include "platform/fonts/WidthIterator.h" |
| 69 #include "platform/text/TextRun.h" | 71 #include "platform/text/TextRun.h" |
| 70 #include "wtf/CurrentTime.h" | 72 #include "wtf/CurrentTime.h" |
| 71 #include "wtf/text/CString.h" | 73 #include "wtf/text/CString.h" |
| 72 #include "wtf/text/StringConcatenate.h" | 74 #include "wtf/text/StringConcatenate.h" |
| 73 | 75 |
| (...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1399 documentsToChange.add(element->ownerDocument()); | 1401 documentsToChange.add(element->ownerDocument()); |
| 1400 } | 1402 } |
| 1401 | 1403 |
| 1402 m_nodeIdToForcedPseudoState.clear(); | 1404 m_nodeIdToForcedPseudoState.clear(); |
| 1403 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu
mentsToChange.end(); it != end; ++it) | 1405 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu
mentsToChange.end(); it != end; ++it) |
| 1404 (*it)->setNeedsStyleRecalc(SubtreeStyleChange); | 1406 (*it)->setNeedsStyleRecalc(SubtreeStyleChange); |
| 1405 } | 1407 } |
| 1406 | 1408 |
| 1407 } // namespace WebCore | 1409 } // namespace WebCore |
| 1408 | 1410 |
| OLD | NEW |