| 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 Apple Inc. All rights reserved. | 4 * Copyright (C) 2006, 2007 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 int scrollToward(const IntPoint&); // Returns the new index or -1 if no scro
ll occurred | 85 int scrollToward(const IntPoint&); // Returns the new index or -1 if no scro
ll occurred |
| 86 | 86 |
| 87 virtual int verticalScrollbarWidth() const; | 87 virtual int verticalScrollbarWidth() const; |
| 88 virtual int scrollLeft() const; | 88 virtual int scrollLeft() const; |
| 89 virtual int scrollTop() const; | 89 virtual int scrollTop() const; |
| 90 virtual int scrollWidth() const; | 90 virtual int scrollWidth() const; |
| 91 virtual int scrollHeight() const; | 91 virtual int scrollHeight() const; |
| 92 virtual void setScrollLeft(int); | 92 virtual void setScrollLeft(int); |
| 93 virtual void setScrollTop(int); | 93 virtual void setScrollTop(int); |
| 94 | 94 |
| 95 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y
, int tx, int ty, HitTestAction); |
| 96 |
| 95 protected: | 97 protected: |
| 96 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 98 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
| 97 | 99 |
| 98 private: | 100 private: |
| 99 // ScrollbarClient interface. | 101 // ScrollbarClient interface. |
| 100 virtual void valueChanged(Scrollbar*); | 102 virtual void valueChanged(Scrollbar*); |
| 101 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); | 103 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); |
| 102 virtual bool isActive() const; | 104 virtual bool isActive() const; |
| 103 virtual bool scrollbarCornerPresent() const { return false; } // We don't su
pport resize on list boxes yet. If we did this would have to change. | 105 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 | 106 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 122 bool m_inAutoscroll; | 124 bool m_inAutoscroll; |
| 123 int m_optionsWidth; | 125 int m_optionsWidth; |
| 124 int m_indexOffset; | 126 int m_indexOffset; |
| 125 | 127 |
| 126 RefPtr<Scrollbar> m_vBar; | 128 RefPtr<Scrollbar> m_vBar; |
| 127 }; | 129 }; |
| 128 | 130 |
| 129 } // namepace WebCore | 131 } // namepace WebCore |
| 130 | 132 |
| 131 #endif // RenderListBox_h | 133 #endif // RenderListBox_h |
| OLD | NEW |