| 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 12 matching lines...) Expand all Loading... |
| 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 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 "RenderListBox.h" | 31 #include "RenderListBox.h" |
| 32 | 32 |
| 33 #include "AXObjectCache.h" | 33 #include <math.h> |
| 34 #include "CSSFontSelector.h" | 34 #include "CSSFontSelector.h" |
| 35 #include "Document.h" | 35 #include "Document.h" |
| 36 #include "DocumentEventQueue.h" | 36 #include "DocumentEventQueue.h" |
| 37 #include "EventHandler.h" | 37 #include "EventHandler.h" |
| 38 #include "FocusController.h" | 38 #include "FocusController.h" |
| 39 #include "FontCache.h" | 39 #include "FontCache.h" |
| 40 #include "Frame.h" | 40 #include "Frame.h" |
| 41 #include "FrameSelection.h" | 41 #include "FrameSelection.h" |
| 42 #include "FrameView.h" | 42 #include "FrameView.h" |
| 43 #include "GraphicsContext.h" | 43 #include "GraphicsContext.h" |
| 44 #include "HTMLNames.h" | 44 #include "HTMLNames.h" |
| 45 #include "HTMLOptGroupElement.h" |
| 45 #include "HTMLOptionElement.h" | 46 #include "HTMLOptionElement.h" |
| 46 #include "HTMLOptGroupElement.h" | |
| 47 #include "HTMLSelectElement.h" | 47 #include "HTMLSelectElement.h" |
| 48 #include "HitTestResult.h" | 48 #include "HitTestResult.h" |
| 49 #include "NodeRenderStyle.h" | 49 #include "NodeRenderStyle.h" |
| 50 #include "Page.h" | 50 #include "Page.h" |
| 51 #include "PaintInfo.h" | 51 #include "PaintInfo.h" |
| 52 #include "RenderLayer.h" | 52 #include "RenderLayer.h" |
| 53 #include "RenderScrollbar.h" | 53 #include "RenderScrollbar.h" |
| 54 #include "RenderText.h" | 54 #include "RenderText.h" |
| 55 #include "RenderTheme.h" | 55 #include "RenderTheme.h" |
| 56 #include "RenderView.h" | 56 #include "RenderView.h" |
| 57 #include "Scrollbar.h" | 57 #include "Scrollbar.h" |
| 58 #include "ScrollbarTheme.h" | 58 #include "ScrollbarTheme.h" |
| 59 #include "SpatialNavigation.h" | 59 #include "SpatialNavigation.h" |
| 60 #include "StyleResolver.h" | 60 #include "StyleResolver.h" |
| 61 #include <math.h> | 61 #include "core/accessibility/AXObjectCache.h" |
| 62 | 62 |
| 63 using namespace std; | 63 using namespace std; |
| 64 | 64 |
| 65 namespace WebCore { | 65 namespace WebCore { |
| 66 | 66 |
| 67 using namespace HTMLNames; | 67 using namespace HTMLNames; |
| 68 | 68 |
| 69 const int rowSpacing = 1; | 69 const int rowSpacing = 1; |
| 70 | 70 |
| 71 const int optionsSpacingHorizontal = 2; | 71 const int optionsSpacingHorizontal = 2; |
| (...skipping 807 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 |