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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 virtual int scrollWidth() const; | 89 virtual int scrollWidth() const; |
90 virtual int scrollHeight() const; | 90 virtual int scrollHeight() const; |
91 virtual void setScrollLeft(int); | 91 virtual void setScrollLeft(int); |
92 virtual void setScrollTop(int); | 92 virtual void setScrollTop(int); |
93 | 93 |
94 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y
, int tx, int ty, HitTestAction); | 94 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y
, int tx, int ty, HitTestAction); |
95 | 95 |
96 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 96 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
97 | 97 |
98 // ScrollbarClient interface. | 98 // ScrollbarClient interface. |
| 99 virtual int scrollSize(ScrollbarOrientation orientation) const; |
| 100 virtual void setScrollOffsetFromAnimation(const IntPoint&); |
99 virtual void valueChanged(Scrollbar*); | 101 virtual void valueChanged(Scrollbar*); |
100 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); | 102 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); |
101 virtual bool isActive() const; | 103 virtual bool isActive() const; |
102 virtual bool scrollbarCornerPresent() const { return false; } // We don't su
pport resize on list boxes yet. If we did this would have to change. | 104 virtual bool scrollbarCornerPresent() const { return false; } // We don't su
pport resize on list boxes yet. If we did this would have to change. |
103 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const
IntRect&) const; | 105 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const
IntRect&) const; |
104 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const
IntRect&) const; | 106 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const
IntRect&) const; |
105 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons
t IntPoint&) const; | 107 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons
t IntPoint&) const; |
106 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons
t IntPoint&) const; | 108 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons
t IntPoint&) const; |
107 | 109 |
108 void setHasVerticalScrollbar(bool hasScrollbar); | 110 void setHasVerticalScrollbar(bool hasScrollbar); |
(...skipping 25 matching lines...) Expand all Loading... |
134 ASSERT(!object || object->isListBox()); | 136 ASSERT(!object || object->isListBox()); |
135 return static_cast<RenderListBox*>(object); | 137 return static_cast<RenderListBox*>(object); |
136 } | 138 } |
137 | 139 |
138 // This will catch anyone doing an unnecessary cast. | 140 // This will catch anyone doing an unnecessary cast. |
139 void toRenderListBox(const RenderListBox*); | 141 void toRenderListBox(const RenderListBox*); |
140 | 142 |
141 } // namepace WebCore | 143 } // namepace WebCore |
142 | 144 |
143 #endif // RenderListBox_h | 145 #endif // RenderListBox_h |
OLD | NEW |