Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: WebCore/rendering/RenderDataGrid.h

Issue 3364013: Merge 67001 - 2010-09-08 Peter Kasting <pkasting@google.com>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « WebCore/platform/win/PopupMenuWin.cpp ('k') | WebCore/rendering/RenderDataGrid.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « WebCore/platform/win/PopupMenuWin.cpp ('k') | WebCore/rendering/RenderDataGrid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698