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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "core/css/resolver/StyleResolver.h" | 48 #include "core/css/resolver/StyleResolver.h" |
49 #include "core/dom/NamedFlow.h" | 49 #include "core/dom/NamedFlow.h" |
50 #include "core/dom/NamedFlowCollection.h" | 50 #include "core/dom/NamedFlowCollection.h" |
51 #include "core/dom/Node.h" | 51 #include "core/dom/Node.h" |
52 #include "core/dom/NodeList.h" | 52 #include "core/dom/NodeList.h" |
53 #include "core/fetch/CSSStyleSheetResource.h" | 53 #include "core/fetch/CSSStyleSheetResource.h" |
54 #include "core/fetch/ResourceClient.h" | 54 #include "core/fetch/ResourceClient.h" |
55 #include "core/fetch/ResourceFetcher.h" | 55 #include "core/fetch/ResourceFetcher.h" |
56 #include "core/fetch/StyleSheetResourceClient.h" | 56 #include "core/fetch/StyleSheetResourceClient.h" |
57 #include "core/html/HTMLHeadElement.h" | 57 #include "core/html/HTMLHeadElement.h" |
58 #include "core/inspector/InspectorDOMAgent.h" | |
59 #include "core/inspector/InspectorHistory.h" | 58 #include "core/inspector/InspectorHistory.h" |
60 #include "core/inspector/InspectorPageAgent.h" | 59 #include "core/inspector/InspectorPageAgent.h" |
61 #include "core/inspector/InspectorResourceAgent.h" | 60 #include "core/inspector/InspectorResourceAgent.h" |
62 #include "core/inspector/InspectorState.h" | 61 #include "core/inspector/InspectorState.h" |
63 #include "core/inspector/InstrumentingAgents.h" | 62 #include "core/inspector/InstrumentingAgents.h" |
64 #include "core/loader/DocumentLoader.h" | 63 #include "core/loader/DocumentLoader.h" |
65 #include "core/frame/ContentSecurityPolicy.h" | |
66 #include "core/frame/Frame.h" | 64 #include "core/frame/Frame.h" |
67 #include "core/page/Page.h" | 65 #include "core/page/Page.h" |
68 #include "core/platform/graphics/Font.h" | 66 #include "core/platform/graphics/Font.h" |
69 #include "core/platform/graphics/WidthIterator.h" | 67 #include "core/platform/graphics/WidthIterator.h" |
70 #include "core/rendering/InlineTextBox.h" | 68 #include "core/rendering/InlineTextBox.h" |
71 #include "core/rendering/RenderObject.h" | 69 #include "core/rendering/RenderObject.h" |
72 #include "core/rendering/RenderRegion.h" | 70 #include "core/rendering/RenderRegion.h" |
73 #include "core/rendering/RenderText.h" | 71 #include "core/rendering/RenderText.h" |
74 #include "core/rendering/RenderTextFragment.h" | 72 #include "core/rendering/RenderTextFragment.h" |
75 #include "platform/JSONValues.h" | |
76 #include "platform/fonts/GlyphBuffer.h" | 73 #include "platform/fonts/GlyphBuffer.h" |
77 #include "platform/graphics/TextRun.h" | 74 #include "platform/graphics/TextRun.h" |
78 #include "wtf/CurrentTime.h" | 75 #include "wtf/CurrentTime.h" |
79 #include "wtf/HashSet.h" | |
80 #include "wtf/Vector.h" | |
81 #include "wtf/text/CString.h" | 76 #include "wtf/text/CString.h" |
82 #include "wtf/text/StringConcatenate.h" | 77 #include "wtf/text/StringConcatenate.h" |
83 | 78 |
84 namespace CSSAgentState { | 79 namespace CSSAgentState { |
85 static const char cssAgentEnabled[] = "cssAgentEnabled"; | 80 static const char cssAgentEnabled[] = "cssAgentEnabled"; |
86 } | 81 } |
87 | 82 |
88 typedef WebCore::InspectorBackendDispatcher::CSSCommandHandler::EnableCallback E
nableCallback; | 83 typedef WebCore::InspectorBackendDispatcher::CSSCommandHandler::EnableCallback E
nableCallback; |
89 | 84 |
90 namespace WebCore { | 85 namespace WebCore { |
(...skipping 1683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1774 documentsToChange.add(element->ownerDocument()); | 1769 documentsToChange.add(element->ownerDocument()); |
1775 } | 1770 } |
1776 | 1771 |
1777 m_nodeIdToForcedPseudoState.clear(); | 1772 m_nodeIdToForcedPseudoState.clear(); |
1778 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu
mentsToChange.end(); it != end; ++it) | 1773 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu
mentsToChange.end(); it != end; ++it) |
1779 (*it)->setNeedsStyleRecalc(); | 1774 (*it)->setNeedsStyleRecalc(); |
1780 } | 1775 } |
1781 | 1776 |
1782 } // namespace WebCore | 1777 } // namespace WebCore |
1783 | 1778 |
OLD | NEW |