| 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 2013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2024 | 2024 |
| 2025 toLayoutCounter(layoutObject)->updateCounter(); | 2025 toLayoutCounter(layoutObject)->updateCounter(); |
| 2026 } | 2026 } |
| 2027 } | 2027 } |
| 2028 | 2028 |
| 2029 IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co
nst | 2029 IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co
nst |
| 2030 { | 2030 { |
| 2031 ASSERT(m_frame->view() == this); | 2031 ASSERT(m_frame->view() == this); |
| 2032 | 2032 |
| 2033 LayoutRect clipRect(LayoutPoint(), LayoutSize(visibleContentSize(scrollbarIn
clusion))); | 2033 LayoutRect clipRect(LayoutPoint(), LayoutSize(visibleContentSize(scrollbarIn
clusion))); |
| 2034 layoutView()->mapToVisibleRectInContainerSpace(&layoutView()->containerForPa
intInvalidation(), clipRect, nullptr); | 2034 layoutView()->mapToVisibleRectInAncestorSpace(&layoutView()->containerForPai
ntInvalidation(), clipRect, nullptr); |
| 2035 return enclosingIntRect(clipRect); | 2035 return enclosingIntRect(clipRect); |
| 2036 } | 2036 } |
| 2037 | 2037 |
| 2038 bool FrameView::shouldUseIntegerScrollOffset() const | 2038 bool FrameView::shouldUseIntegerScrollOffset() const |
| 2039 { | 2039 { |
| 2040 if (m_frame->settings() && !m_frame->settings()->preferCompositingToLCDTextE
nabled()) | 2040 if (m_frame->settings() && !m_frame->settings()->preferCompositingToLCDTextE
nabled()) |
| 2041 return true; | 2041 return true; |
| 2042 | 2042 |
| 2043 return ScrollableArea::shouldUseIntegerScrollOffset(); | 2043 return ScrollableArea::shouldUseIntegerScrollOffset(); |
| 2044 } | 2044 } |
| (...skipping 1964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4009 return m_hiddenForThrottling && m_crossOriginForThrottling; | 4009 return m_hiddenForThrottling && m_crossOriginForThrottling; |
| 4010 } | 4010 } |
| 4011 | 4011 |
| 4012 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const | 4012 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const |
| 4013 { | 4013 { |
| 4014 ASSERT(layoutView()); | 4014 ASSERT(layoutView()); |
| 4015 return *layoutView(); | 4015 return *layoutView(); |
| 4016 } | 4016 } |
| 4017 | 4017 |
| 4018 } // namespace blink | 4018 } // namespace blink |
| OLD | NEW |