Changeset 106869 in webkit
- Timestamp:
- Feb 6, 2012, 4:14:40 PM (15 years ago)
- Location:
- branches/subpixellayout/Source/WebCore/rendering
- Files:
-
- 2 edited
-
RenderFrameSet.cpp (modified) (3 diffs)
-
RenderFrameSet.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/subpixellayout/Source/WebCore/rendering/RenderFrameSet.cpp
r106868 r106869 747 747 } 748 748 749 bool RenderFrameSet::canResizeRow(const LayoutPoint& p) const749 bool RenderFrameSet::canResizeRow(const IntPoint& p) const 750 750 { 751 751 int r = hitTestSplit(m_rows, p.y()); … … 753 753 } 754 754 755 bool RenderFrameSet::canResizeColumn(const LayoutPoint& p) const755 bool RenderFrameSet::canResizeColumn(const IntPoint& p) const 756 756 { 757 757 int c = hitTestSplit(m_cols, p.x()); … … 805 805 CursorDirective RenderFrameSet::getCursor(const LayoutPoint& point, Cursor& cursor) const 806 806 { 807 if (canResizeRow(point)) { 807 IntPoint roundedPoint = roundedIntPoint(point); 808 if (canResizeRow(roundedPoint)) { 808 809 cursor = rowResizeCursor(); 809 810 return SetCursor; 810 811 } 811 if (canResizeColumn( point)) {812 if (canResizeColumn(roundedPoint)) { 812 813 cursor = columnResizeCursor(); 813 814 return SetCursor; -
branches/subpixellayout/Source/WebCore/rendering/RenderFrameSet.h
r98165 r106869 69 69 bool isResizingColumn() const; 70 70 71 bool canResizeRow(const LayoutPoint&) const;72 bool canResizeColumn(const LayoutPoint&) const;71 bool canResizeRow(const IntPoint&) const; 72 bool canResizeColumn(const IntPoint&) const; 73 73 74 74 void notifyFrameEdgeInfoChanged();
Note:
See TracChangeset
for help on using the changeset viewer.