| 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 2016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2027 | 2027 |
| 2028 toLayoutCounter(layoutObject)->updateCounter(); | 2028 toLayoutCounter(layoutObject)->updateCounter(); |
| 2029 } | 2029 } |
| 2030 } | 2030 } |
| 2031 | 2031 |
| 2032 IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co
nst | 2032 IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co
nst |
| 2033 { | 2033 { |
| 2034 ASSERT(m_frame->view() == this); | 2034 ASSERT(m_frame->view() == this); |
| 2035 | 2035 |
| 2036 LayoutRect clipRect(LayoutPoint(), LayoutSize(visibleContentSize(scrollbarIn
clusion))); | 2036 LayoutRect clipRect(LayoutPoint(), LayoutSize(visibleContentSize(scrollbarIn
clusion))); |
| 2037 layoutView()->mapRectToPaintInvalidationBacking(&layoutView()->containerForP
aintInvalidation(), clipRect, nullptr); | 2037 layoutView()->mapToVisibleRectInContainerSpace(&layoutView()->containerForPa
intInvalidation(), clipRect, nullptr); |
| 2038 return enclosingIntRect(clipRect); | 2038 return enclosingIntRect(clipRect); |
| 2039 } | 2039 } |
| 2040 | 2040 |
| 2041 bool FrameView::shouldUseIntegerScrollOffset() const | 2041 bool FrameView::shouldUseIntegerScrollOffset() const |
| 2042 { | 2042 { |
| 2043 if (m_frame->settings() && !m_frame->settings()->preferCompositingToLCDTextE
nabled()) | 2043 if (m_frame->settings() && !m_frame->settings()->preferCompositingToLCDTextE
nabled()) |
| 2044 return true; | 2044 return true; |
| 2045 | 2045 |
| 2046 return ScrollableArea::shouldUseIntegerScrollOffset(); | 2046 return ScrollableArea::shouldUseIntegerScrollOffset(); |
| 2047 } | 2047 } |
| (...skipping 1937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3985 return m_hiddenForThrottling && m_crossOriginForThrottling; | 3985 return m_hiddenForThrottling && m_crossOriginForThrottling; |
| 3986 } | 3986 } |
| 3987 | 3987 |
| 3988 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const | 3988 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const |
| 3989 { | 3989 { |
| 3990 ASSERT(layoutView()); | 3990 ASSERT(layoutView()); |
| 3991 return *layoutView(); | 3991 return *layoutView(); |
| 3992 } | 3992 } |
| 3993 | 3993 |
| 3994 } // namespace blink | 3994 } // namespace blink |
| OLD | NEW |