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 2096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2107 | 2107 |
2108 toLayoutCounter(layoutObject)->updateCounter(); | 2108 toLayoutCounter(layoutObject)->updateCounter(); |
2109 } | 2109 } |
2110 } | 2110 } |
2111 | 2111 |
2112 IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co
nst | 2112 IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co
nst |
2113 { | 2113 { |
2114 ASSERT(m_frame->view() == this); | 2114 ASSERT(m_frame->view() == this); |
2115 | 2115 |
2116 LayoutRect clipRect(LayoutPoint(), LayoutSize(visibleContentSize(scrollbarIn
clusion))); | 2116 LayoutRect clipRect(LayoutPoint(), LayoutSize(visibleContentSize(scrollbarIn
clusion))); |
2117 layoutView()->mapToVisibleRectInAncestorSpace(&layoutView()->containerForPai
ntInvalidation(), clipRect, nullptr); | 2117 layoutView()->mapToVisibleRectInAncestorSpace(&layoutView()->containerForPai
ntInvalidation(), clipRect, nullptr, false); |
2118 return enclosingIntRect(clipRect); | 2118 return enclosingIntRect(clipRect); |
2119 } | 2119 } |
2120 | 2120 |
2121 bool FrameView::shouldUseIntegerScrollOffset() const | 2121 bool FrameView::shouldUseIntegerScrollOffset() const |
2122 { | 2122 { |
2123 if (m_frame->settings() && !m_frame->settings()->preferCompositingToLCDTextE
nabled()) | 2123 if (m_frame->settings() && !m_frame->settings()->preferCompositingToLCDTextE
nabled()) |
2124 return true; | 2124 return true; |
2125 | 2125 |
2126 return ScrollableArea::shouldUseIntegerScrollOffset(); | 2126 return ScrollableArea::shouldUseIntegerScrollOffset(); |
2127 } | 2127 } |
(...skipping 1967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4095 return m_hiddenForThrottling && m_crossOriginForThrottling; | 4095 return m_hiddenForThrottling && m_crossOriginForThrottling; |
4096 } | 4096 } |
4097 | 4097 |
4098 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const | 4098 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const |
4099 { | 4099 { |
4100 ASSERT(layoutView()); | 4100 ASSERT(layoutView()); |
4101 return *layoutView(); | 4101 return *layoutView(); |
4102 } | 4102 } |
4103 | 4103 |
4104 } // namespace blink | 4104 } // namespace blink |
OLD | NEW |