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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 virtual bool scrollImpl(ScrollDirection, ScrollGranularity, float) OVERRIDE; | 75 virtual bool scrollImpl(ScrollDirection, ScrollGranularity, float) OVERRIDE; |
76 | 76 |
77 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const OVERRIDE; | 77 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const OVERRIDE; |
78 virtual void computePreferredLogicalWidths() OVERRIDE; | 78 virtual void computePreferredLogicalWidths() OVERRIDE; |
79 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const; | 79 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const; |
80 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const OVERRIDE; | 80 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const OVERRIDE; |
81 | 81 |
82 virtual void layout(); | 82 virtual void layout(); |
83 | 83 |
| 84 virtual bool supportsPartialLayout() const OVERRIDE { return false; } |
| 85 |
84 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; | 86 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; |
85 | 87 |
86 virtual bool canBeProgramaticallyScrolled() const { return true; } | 88 virtual bool canBeProgramaticallyScrolled() const { return true; } |
87 virtual void autoscroll(const IntPoint&); | 89 virtual void autoscroll(const IntPoint&); |
88 virtual void stopAutoscroll(); | 90 virtual void stopAutoscroll(); |
89 | 91 |
90 virtual bool shouldPanScroll() const { return true; } | 92 virtual bool shouldPanScroll() const { return true; } |
91 virtual void panScroll(const IntPoint&); | 93 virtual void panScroll(const IntPoint&); |
92 | 94 |
93 virtual int verticalScrollbarWidth() const; | 95 virtual int verticalScrollbarWidth() const; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isListBox()); | 164 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isListBox()); |
163 return static_cast<RenderListBox*>(object); | 165 return static_cast<RenderListBox*>(object); |
164 } | 166 } |
165 | 167 |
166 // This will catch anyone doing an unnecessary cast. | 168 // This will catch anyone doing an unnecessary cast. |
167 void toRenderListBox(const RenderListBox*); | 169 void toRenderListBox(const RenderListBox*); |
168 | 170 |
169 } // namepace WebCore | 171 } // namepace WebCore |
170 | 172 |
171 #endif // RenderListBox_h | 173 #endif // RenderListBox_h |
OLD | NEW |