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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/InspectorHistory.h" | 58 #include "core/inspector/InspectorHistory.h" |
59 #include "core/inspector/InspectorPageAgent.h" | 59 #include "core/inspector/InspectorPageAgent.h" |
60 #include "core/inspector/InspectorResourceAgent.h" | 60 #include "core/inspector/InspectorResourceAgent.h" |
61 #include "core/inspector/InspectorState.h" | 61 #include "core/inspector/InspectorState.h" |
62 #include "core/inspector/InstrumentingAgents.h" | 62 #include "core/inspector/InstrumentingAgents.h" |
63 #include "core/loader/DocumentLoader.h" | 63 #include "core/loader/DocumentLoader.h" |
64 #include "core/frame/Frame.h" | 64 #include "core/frame/Frame.h" |
65 #include "core/page/Page.h" | 65 #include "core/page/Page.h" |
66 #include "core/platform/graphics/Font.h" | |
67 #include "core/platform/graphics/WidthIterator.h" | |
68 #include "core/rendering/InlineTextBox.h" | 66 #include "core/rendering/InlineTextBox.h" |
69 #include "core/rendering/RenderObject.h" | 67 #include "core/rendering/RenderObject.h" |
70 #include "core/rendering/RenderRegion.h" | 68 #include "core/rendering/RenderRegion.h" |
71 #include "core/rendering/RenderText.h" | 69 #include "core/rendering/RenderText.h" |
72 #include "core/rendering/RenderTextFragment.h" | 70 #include "core/rendering/RenderTextFragment.h" |
| 71 #include "platform/fonts/Font.h" |
73 #include "platform/fonts/GlyphBuffer.h" | 72 #include "platform/fonts/GlyphBuffer.h" |
| 73 #include "platform/fonts/WidthIterator.h" |
74 #include "platform/graphics/TextRun.h" | 74 #include "platform/graphics/TextRun.h" |
75 #include "wtf/CurrentTime.h" | 75 #include "wtf/CurrentTime.h" |
76 #include "wtf/text/CString.h" | 76 #include "wtf/text/CString.h" |
77 #include "wtf/text/StringConcatenate.h" | 77 #include "wtf/text/StringConcatenate.h" |
78 | 78 |
79 namespace CSSAgentState { | 79 namespace CSSAgentState { |
80 static const char cssAgentEnabled[] = "cssAgentEnabled"; | 80 static const char cssAgentEnabled[] = "cssAgentEnabled"; |
81 } | 81 } |
82 | 82 |
83 typedef WebCore::InspectorBackendDispatcher::CSSCommandHandler::EnableCallback E
nableCallback; | 83 typedef WebCore::InspectorBackendDispatcher::CSSCommandHandler::EnableCallback E
nableCallback; |
(...skipping 1685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1769 documentsToChange.add(element->ownerDocument()); | 1769 documentsToChange.add(element->ownerDocument()); |
1770 } | 1770 } |
1771 | 1771 |
1772 m_nodeIdToForcedPseudoState.clear(); | 1772 m_nodeIdToForcedPseudoState.clear(); |
1773 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) |
1774 (*it)->setNeedsStyleRecalc(); | 1774 (*it)->setNeedsStyleRecalc(); |
1775 } | 1775 } |
1776 | 1776 |
1777 } // namespace WebCore | 1777 } // namespace WebCore |
1778 | 1778 |
OLD | NEW |