OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. |
3 * 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 13 matching lines...) Expand all Loading... |
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 #include "core/rendering/RenderListBox.h" | 31 #include "core/rendering/RenderListBox.h" |
32 | 32 |
33 #include <math.h> | 33 #include <math.h> |
34 #include "Document.h" | |
35 #include "DocumentEventQueue.h" | |
36 #include "HTMLNames.h" | 34 #include "HTMLNames.h" |
37 #include "HTMLOptGroupElement.h" | 35 #include "HTMLOptGroupElement.h" |
38 #include "HTMLOptionElement.h" | 36 #include "HTMLOptionElement.h" |
39 #include "HTMLSelectElement.h" | 37 #include "HTMLSelectElement.h" |
40 #include "NodeRenderStyle.h" | |
41 #include "core/accessibility/AXObjectCache.h" | 38 #include "core/accessibility/AXObjectCache.h" |
42 #include "core/css/CSSFontSelector.h" | 39 #include "core/css/CSSFontSelector.h" |
43 #include "core/css/StyleResolver.h" | 40 #include "core/css/StyleResolver.h" |
| 41 #include "core/dom/Document.h" |
| 42 #include "core/dom/DocumentEventQueue.h" |
| 43 #include "core/dom/NodeRenderStyle.h" |
44 #include "core/editing/FrameSelection.h" | 44 #include "core/editing/FrameSelection.h" |
45 #include "core/page/EventHandler.h" | 45 #include "core/page/EventHandler.h" |
46 #include "core/page/FocusController.h" | 46 #include "core/page/FocusController.h" |
47 #include "core/page/Frame.h" | 47 #include "core/page/Frame.h" |
48 #include "core/page/FrameView.h" | 48 #include "core/page/FrameView.h" |
49 #include "core/page/Page.h" | 49 #include "core/page/Page.h" |
50 #include "core/page/SpatialNavigation.h" | 50 #include "core/page/SpatialNavigation.h" |
51 #include "core/platform/Scrollbar.h" | 51 #include "core/platform/Scrollbar.h" |
52 #include "core/platform/ScrollbarTheme.h" | 52 #include "core/platform/ScrollbarTheme.h" |
53 #include "core/platform/graphics/FontCache.h" | 53 #include "core/platform/graphics/FontCache.h" |
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
879 | 879 |
880 if (m_vBar) | 880 if (m_vBar) |
881 m_vBar->styleChanged(); | 881 m_vBar->styleChanged(); |
882 | 882 |
883 // Force an update since we know the scrollbars have changed things. | 883 // Force an update since we know the scrollbars have changed things. |
884 if (document()->hasAnnotatedRegions()) | 884 if (document()->hasAnnotatedRegions()) |
885 document()->setAnnotatedRegionsDirty(true); | 885 document()->setAnnotatedRegionsDirty(true); |
886 } | 886 } |
887 | 887 |
888 } // namespace WebCore | 888 } // namespace WebCore |
OLD | NEW |