| 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 2570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2581 LayoutViewItem viewItem = layoutViewItem(); | 2581 LayoutViewItem viewItem = layoutViewItem(); |
| 2582 if (!viewItem.isNull()) | 2582 if (!viewItem.isNull()) |
| 2583 viewItem.clearHitTestCache(); | 2583 viewItem.clearHitTestCache(); |
| 2584 } | 2584 } |
| 2585 | 2585 |
| 2586 IntRect FrameView::scrollableAreaBoundingBox() const { | 2586 IntRect FrameView::scrollableAreaBoundingBox() const { |
| 2587 LayoutPartItem ownerLayoutItem = frame().ownerLayoutItem(); | 2587 LayoutPartItem ownerLayoutItem = frame().ownerLayoutItem(); |
| 2588 if (ownerLayoutItem.isNull()) | 2588 if (ownerLayoutItem.isNull()) |
| 2589 return frameRect(); | 2589 return frameRect(); |
| 2590 | 2590 |
| 2591 return ownerLayoutItem.absoluteContentQuad().enclosingBoundingBox(); | 2591 return ownerLayoutItem.absoluteContentQuad(TraverseDocumentBoundaries) |
| 2592 .enclosingBoundingBox(); |
| 2592 } | 2593 } |
| 2593 | 2594 |
| 2594 bool FrameView::isScrollable() { | 2595 bool FrameView::isScrollable() { |
| 2595 return getScrollingReasons() == Scrollable; | 2596 return getScrollingReasons() == Scrollable; |
| 2596 } | 2597 } |
| 2597 | 2598 |
| 2598 bool FrameView::isProgrammaticallyScrollable() { | 2599 bool FrameView::isProgrammaticallyScrollable() { |
| 2599 return !m_inUpdateScrollbars; | 2600 return !m_inUpdateScrollbars; |
| 2600 } | 2601 } |
| 2601 | 2602 |
| (...skipping 2482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5084 std::unique_ptr<CompositorAnimationTimeline> timeline) { | 5085 std::unique_ptr<CompositorAnimationTimeline> timeline) { |
| 5085 m_animationTimeline = std::move(timeline); | 5086 m_animationTimeline = std::move(timeline); |
| 5086 } | 5087 } |
| 5087 | 5088 |
| 5088 void FrameView::setAnimationHost( | 5089 void FrameView::setAnimationHost( |
| 5089 std::unique_ptr<CompositorAnimationHost> host) { | 5090 std::unique_ptr<CompositorAnimationHost> host) { |
| 5090 m_animationHost = std::move(host); | 5091 m_animationHost = std::move(host); |
| 5091 } | 5092 } |
| 5092 | 5093 |
| 5093 } // namespace blink | 5094 } // namespace blink |
| OLD | NEW |