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 18 matching lines...) Expand all Loading... |
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 "core/HTMLNames.h" | 33 #include "core/HTMLNames.h" |
34 #include "core/accessibility/AXObjectCache.h" | 34 #include "core/accessibility/AXObjectCache.h" |
35 #include "core/css/CSSFontSelector.h" | 35 #include "core/css/CSSFontSelector.h" |
36 #include "core/css/resolver/StyleResolver.h" | 36 #include "core/css/resolver/StyleResolver.h" |
37 #include "core/dom/Document.h" | 37 #include "core/dom/Document.h" |
38 #include "core/dom/NodeRenderStyle.h" | 38 #include "core/dom/NodeRenderStyle.h" |
| 39 #include "core/dom/StyleEngine.h" |
39 #include "core/editing/FrameSelection.h" | 40 #include "core/editing/FrameSelection.h" |
40 #include "core/frame/FrameView.h" | 41 #include "core/frame/FrameView.h" |
41 #include "core/frame/LocalFrame.h" | 42 #include "core/frame/LocalFrame.h" |
42 #include "core/html/HTMLOptGroupElement.h" | 43 #include "core/html/HTMLOptGroupElement.h" |
43 #include "core/html/HTMLOptionElement.h" | 44 #include "core/html/HTMLOptionElement.h" |
44 #include "core/html/HTMLSelectElement.h" | 45 #include "core/html/HTMLSelectElement.h" |
45 #include "core/page/EventHandler.h" | 46 #include "core/page/EventHandler.h" |
46 #include "core/page/FocusController.h" | 47 #include "core/page/FocusController.h" |
47 #include "core/page/Page.h" | 48 #include "core/page/Page.h" |
48 #include "core/page/SpatialNavigation.h" | 49 #include "core/page/SpatialNavigation.h" |
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1018 { | 1019 { |
1019 return itemBoundingBoxRectInternal(point, listIndexToRenderListBoxIndex(inde
x)); | 1020 return itemBoundingBoxRectInternal(point, listIndexToRenderListBoxIndex(inde
x)); |
1020 } | 1021 } |
1021 | 1022 |
1022 bool RenderListBox::scrollToRevealElementAtListIndex(int index) | 1023 bool RenderListBox::scrollToRevealElementAtListIndex(int index) |
1023 { | 1024 { |
1024 return scrollToRevealElementAtListIndexInternal(listIndexToRenderListBoxInde
x(index)); | 1025 return scrollToRevealElementAtListIndexInternal(listIndexToRenderListBoxInde
x(index)); |
1025 } | 1026 } |
1026 | 1027 |
1027 } // namespace WebCore | 1028 } // namespace WebCore |
OLD | NEW |