OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 void recalcStyleForColumns(); | 60 void recalcStyleForColumns(); |
61 void recalcStyleForColumn(DataGridColumn*); | 61 void recalcStyleForColumn(DataGridColumn*); |
62 | 62 |
63 void layoutColumns(); | 63 void layoutColumns(); |
64 void paintColumnHeaders(PaintInfo&, int tx, int ty); | 64 void paintColumnHeaders(PaintInfo&, int tx, int ty); |
65 void paintColumnHeader(DataGridColumn*, PaintInfo&, int tx, int ty); | 65 void paintColumnHeader(DataGridColumn*, PaintInfo&, int tx, int ty); |
66 | 66 |
67 HTMLDataGridElement* gridElement() const { return static_cast<HTMLDataGridEl
ement*>(node()); } | 67 HTMLDataGridElement* gridElement() const { return static_cast<HTMLDataGridEl
ement*>(node()); } |
68 | 68 |
69 // ScrollbarClient interface. | 69 // ScrollbarClient interface. |
| 70 virtual int scrollSize(ScrollbarOrientation orientation) const; |
| 71 virtual void setScrollOffsetFromAnimation(const IntPoint&); |
70 virtual void valueChanged(Scrollbar*); | 72 virtual void valueChanged(Scrollbar*); |
71 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); | 73 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); |
72 virtual bool isActive() const; | 74 virtual bool isActive() const; |
73 virtual bool scrollbarCornerPresent() const { return false; } // We don't su
pport resize on data grids yet. If we did this would have to change. | 75 virtual bool scrollbarCornerPresent() const { return false; } // We don't su
pport resize on data grids yet. If we did this would have to change. |
74 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const
IntRect&) const; | 76 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const
IntRect&) const; |
75 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const
IntRect&) const; | 77 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const
IntRect&) const; |
76 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons
t IntPoint&) const; | 78 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons
t IntPoint&) const; |
77 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons
t IntPoint&) const; | 79 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons
t IntPoint&) const; |
78 | 80 |
79 RefPtr<Scrollbar> m_vBar; | 81 RefPtr<Scrollbar> m_vBar; |
80 }; | 82 }; |
81 | 83 |
82 } | 84 } |
83 | 85 |
84 #endif | 86 #endif |
85 | 87 |
86 #endif // RenderDataGrid_h | 88 #endif // RenderDataGrid_h |
OLD | NEW |