Title: [107853] branches/subpixellayout/Source/WebCore/platform/ScrollView.h
- Revision
- 107853
- Author
- [email protected]
- Date
- 2012-02-15 16:08:32 -0800 (Wed, 15 Feb 2012)
Log Message
Removing unused methods conversion methods from ScrollView.
Modified Paths
Diff
Modified: branches/subpixellayout/Source/WebCore/platform/ScrollView.h (107852 => 107853)
--- branches/subpixellayout/Source/WebCore/platform/ScrollView.h 2012-02-16 00:01:55 UTC (rev 107852)
+++ branches/subpixellayout/Source/WebCore/platform/ScrollView.h 2012-02-16 00:08:32 UTC (rev 107853)
@@ -206,7 +206,6 @@
// of containing window is. (For example on Mac it is the containing NSWindow.)
IntPoint windowToContents(const IntPoint&) const;
IntPoint contentsToWindow(const IntPoint&) const;
-
IntRect windowToContents(const IntRect&) const;
IntRect contentsToWindow(const IntRect&) const;
@@ -253,15 +252,6 @@
return newPoint;
}
- LayoutPoint convertChildToSelf(const Widget* child, const LayoutPoint& point) const
- {
- LayoutPoint newPoint = point;
- if (!isScrollViewScrollbar(child))
- newPoint = point - scrollOffset();
- newPoint.moveBy(child->location());
- return newPoint;
- }
-
IntPoint convertSelfToChild(const Widget* child, const IntPoint& point) const
{
IntPoint newPoint = point;
@@ -271,15 +261,6 @@
return newPoint;
}
- LayoutPoint convertSelfToChild(const Widget* child, const LayoutPoint& point) const
- {
- LayoutPoint newPoint = point;
- if (!isScrollViewScrollbar(child))
- newPoint = point + scrollOffset();
- newPoint.moveBy(-child->location());
- return newPoint;
- }
-
// Widget override. Handles painting of the contents of the view as well as the scrollbars.
virtual void paint(GraphicsContext*, const IntRect&);
void paintScrollbars(GraphicsContext*, const IntRect&);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes