OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 2057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2068 m_pendingScrollDelta += scrollDelta; | 2068 m_pendingScrollDelta += scrollDelta; |
2069 | 2069 |
2070 clearScrollAnchor(); | 2070 clearScrollAnchor(); |
2071 updateLayersAndCompositingAfterScrollIfNeeded(); | 2071 updateLayersAndCompositingAfterScrollIfNeeded(); |
2072 scrollPositionChanged(); | 2072 scrollPositionChanged(); |
2073 frame().loader().client()->didChangeScrollOffset(); | 2073 frame().loader().client()->didChangeScrollOffset(); |
2074 } | 2074 } |
2075 | 2075 |
2076 void FrameView::invalidatePaintForTickmarks() | 2076 void FrameView::invalidatePaintForTickmarks() |
2077 { | 2077 { |
2078 if (Scrollbar* scrollbar = verticalScrollbar()) | 2078 if (Scrollbar* scrollbar = verticalScrollbar()) { |
| 2079 scrollbar->setTrackNeedsRepaint(true); |
2079 setScrollbarNeedsPaintInvalidation(scrollbar); | 2080 setScrollbarNeedsPaintInvalidation(scrollbar); |
| 2081 } |
2080 } | 2082 } |
2081 | 2083 |
2082 void FrameView::getTickmarks(Vector<IntRect>& tickmarks) const | 2084 void FrameView::getTickmarks(Vector<IntRect>& tickmarks) const |
2083 { | 2085 { |
2084 if (!m_tickmarks.isEmpty()) | 2086 if (!m_tickmarks.isEmpty()) |
2085 tickmarks = m_tickmarks; | 2087 tickmarks = m_tickmarks; |
2086 else | 2088 else |
2087 tickmarks = frame().document()->markers().renderedRectsForMarkers(Docume
ntMarker::TextMatch); | 2089 tickmarks = frame().document()->markers().renderedRectsForMarkers(Docume
ntMarker::TextMatch); |
2088 } | 2090 } |
2089 | 2091 |
(...skipping 1891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3981 return m_hiddenForThrottling && m_crossOriginForThrottling; | 3983 return m_hiddenForThrottling && m_crossOriginForThrottling; |
3982 } | 3984 } |
3983 | 3985 |
3984 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const | 3986 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const |
3985 { | 3987 { |
3986 ASSERT(layoutView()); | 3988 ASSERT(layoutView()); |
3987 return *layoutView(); | 3989 return *layoutView(); |
3988 } | 3990 } |
3989 | 3991 |
3990 } // namespace blink | 3992 } // namespace blink |
OLD | NEW |