Title: [155298] trunk/Source/WebCore
Revision
155298
Author
[email protected]
Date
2013-09-08 03:38:54 -0700 (Sun, 08 Sep 2013)

Log Message

Remove unused Scrollbar tickmark stuff.
<https://webkit.org/b/121000>

Reviewed by Antti Koivisto.

This code is no longer used by any ports.

* page/FrameView.cpp:
* page/FrameView.h:
* platform/ScrollableArea.h:
* platform/Scrollbar.cpp:
* platform/Scrollbar.h:
* platform/ScrollbarThemeClient.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (155297 => 155298)


--- trunk/Source/WebCore/ChangeLog	2013-09-08 09:35:29 UTC (rev 155297)
+++ trunk/Source/WebCore/ChangeLog	2013-09-08 10:38:54 UTC (rev 155298)
@@ -1,3 +1,19 @@
+2013-09-08  Andreas Kling  <[email protected]>
+
+        Remove unused Scrollbar tickmark stuff.
+        <https://webkit.org/b/121000>
+
+        Reviewed by Antti Koivisto.
+
+        This code is no longer used by any ports.
+
+        * page/FrameView.cpp:
+        * page/FrameView.h:
+        * platform/ScrollableArea.h:
+        * platform/Scrollbar.cpp:
+        * platform/Scrollbar.h:
+        * platform/ScrollbarThemeClient.h:
+
 2013-09-08  Antti Koivisto  <[email protected]>
 
         Remove ComposedShadowTreeWalker

Modified: trunk/Source/WebCore/page/FrameView.cpp (155297 => 155298)


--- trunk/Source/WebCore/page/FrameView.cpp	2013-09-08 09:35:29 UTC (rev 155297)
+++ trunk/Source/WebCore/page/FrameView.cpp	2013-09-08 10:38:54 UTC (rev 155298)
@@ -3063,11 +3063,6 @@
     invalidateRect(dirtyRect);
 }
 
-void FrameView::getTickmarks(Vector<IntRect>& tickmarks) const
-{
-    tickmarks = frame().document()->markers().renderedRectsForMarkers(DocumentMarker::TextMatch);
-}
-
 IntRect FrameView::windowResizerRect() const
 {
     if (Page* page = frame().page())

Modified: trunk/Source/WebCore/page/FrameView.h (155297 => 155298)


--- trunk/Source/WebCore/page/FrameView.h	2013-09-08 09:35:29 UTC (rev 155297)
+++ trunk/Source/WebCore/page/FrameView.h	2013-09-08 10:38:54 UTC (rev 155298)
@@ -495,7 +495,6 @@
 
     // ScrollableArea interface
     virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) OVERRIDE;
-    virtual void getTickmarks(Vector<IntRect>&) const OVERRIDE;
     virtual void scrollTo(const IntSize&) OVERRIDE;
     virtual void setVisibleScrollerThumbRect(const IntRect&) OVERRIDE;
     virtual ScrollableArea* enclosingScrollableArea() const OVERRIDE;

Modified: trunk/Source/WebCore/platform/ScrollableArea.h (155297 => 155298)


--- trunk/Source/WebCore/platform/ScrollableArea.h	2013-09-08 09:35:29 UTC (rev 155297)
+++ trunk/Source/WebCore/platform/ScrollableArea.h	2013-09-08 10:38:54 UTC (rev 155298)
@@ -109,7 +109,6 @@
     virtual bool isScrollCornerVisible() const = 0;
     virtual IntRect scrollCornerRect() const = 0;
     virtual void invalidateScrollCorner(const IntRect&);
-    virtual void getTickmarks(Vector<IntRect>&) const { }
 
     // Convert points and rects between the scrollbar and its containing view.
     // The client needs to implement these in order to be aware of layout effects

Modified: trunk/Source/WebCore/platform/Scrollbar.cpp (155297 => 155298)


--- trunk/Source/WebCore/platform/Scrollbar.cpp	2013-09-08 09:35:29 UTC (rev 155297)
+++ trunk/Source/WebCore/platform/Scrollbar.cpp	2013-09-08 10:38:54 UTC (rev 155298)
@@ -113,12 +113,6 @@
     return m_scrollableArea ? m_scrollableArea->scrollbarOverlayStyle() : ScrollbarOverlayStyleDefault;
 }
 
-void Scrollbar::getTickmarks(Vector<IntRect>& tickmarks) const
-{
-    if (m_scrollableArea)
-        m_scrollableArea->getTickmarks(tickmarks);
-}
-
 bool Scrollbar::isScrollableAreaActive() const
 {
     return m_scrollableArea && m_scrollableArea->isActive();

Modified: trunk/Source/WebCore/platform/Scrollbar.h (155297 => 155298)


--- trunk/Source/WebCore/platform/Scrollbar.h	2013-09-08 09:35:29 UTC (rev 155297)
+++ trunk/Source/WebCore/platform/Scrollbar.h	2013-09-08 10:38:54 UTC (rev 155298)
@@ -72,7 +72,6 @@
     virtual void invalidateRect(const IntRect&);
 
     virtual ScrollbarOverlayStyle scrollbarOverlayStyle() const;
-    virtual void getTickmarks(Vector<IntRect>&) const;
     virtual bool isScrollableAreaActive() const;
     virtual bool isScrollViewScrollbar() const;
 

Modified: trunk/Source/WebCore/platform/ScrollbarThemeClient.h (155297 => 155298)


--- trunk/Source/WebCore/platform/ScrollbarThemeClient.h	2013-09-08 09:35:29 UTC (rev 155297)
+++ trunk/Source/WebCore/platform/ScrollbarThemeClient.h	2013-09-08 10:38:54 UTC (rev 155298)
@@ -56,7 +56,6 @@
     virtual void invalidateRect(const IntRect&) = 0;
 
     virtual ScrollbarOverlayStyle scrollbarOverlayStyle() const = 0;
-    virtual void getTickmarks(Vector<IntRect>&) const = 0;
     virtual bool isScrollableAreaActive() const = 0;
     virtual bool isScrollViewScrollbar() const = 0;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to