| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the select element renderer in WebCore. | 2 * This file is part of the select element renderer in WebCore. |
| 3 * | 3 * |
| 4 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef RenderListBox_h | 31 #ifndef RenderListBox_h |
| 32 #define RenderListBox_h | 32 #define RenderListBox_h |
| 33 | 33 |
| 34 #include "core/platform/ScrollableArea.h" | |
| 35 #include "core/rendering/RenderBlockFlow.h" | 34 #include "core/rendering/RenderBlockFlow.h" |
| 35 #include "platform/scroll/ScrollableArea.h" |
| 36 | 36 |
| 37 namespace WebCore { | 37 namespace WebCore { |
| 38 | 38 |
| 39 class HTMLSelectElement; | 39 class HTMLSelectElement; |
| 40 | 40 |
| 41 class RenderListBox FINAL : public RenderBlockFlow, private ScrollableArea { | 41 class RenderListBox FINAL : public RenderBlockFlow, private ScrollableArea { |
| 42 public: | 42 public: |
| 43 explicit RenderListBox(Element*); | 43 explicit RenderListBox(Element*); |
| 44 virtual ~RenderListBox(); | 44 virtual ~RenderListBox(); |
| 45 | 45 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 int m_indexOffset; | 158 int m_indexOffset; |
| 159 | 159 |
| 160 RefPtr<Scrollbar> m_vBar; | 160 RefPtr<Scrollbar> m_vBar; |
| 161 }; | 161 }; |
| 162 | 162 |
| 163 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListBox, isListBox()); | 163 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListBox, isListBox()); |
| 164 | 164 |
| 165 } // namepace WebCore | 165 } // namepace WebCore |
| 166 | 166 |
| 167 #endif // RenderListBox_h | 167 #endif // RenderListBox_h |
| OLD | NEW |