| 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 3091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3102 frameView.checkDoesNotNeedLayout(); | 3102 frameView.checkDoesNotNeedLayout(); |
| 3103 frameView.m_allowsLayoutInvalidationAfterLayoutClean = true; | 3103 frameView.m_allowsLayoutInvalidationAfterLayoutClean = true; |
| 3104 }); | 3104 }); |
| 3105 } | 3105 } |
| 3106 | 3106 |
| 3107 updateViewportIntersectionsForSubtree(targetState); | 3107 updateViewportIntersectionsForSubtree(targetState); |
| 3108 } | 3108 } |
| 3109 | 3109 |
| 3110 void FrameView::enqueueScrollAnchoringAdjustment( | 3110 void FrameView::enqueueScrollAnchoringAdjustment( |
| 3111 ScrollableArea* scrollableArea) { | 3111 ScrollableArea* scrollableArea) { |
| 3112 m_anchoringAdjustmentQueue.add(scrollableArea); | 3112 m_anchoringAdjustmentQueue.insert(scrollableArea); |
| 3113 } | 3113 } |
| 3114 | 3114 |
| 3115 void FrameView::performScrollAnchoringAdjustments() { | 3115 void FrameView::performScrollAnchoringAdjustments() { |
| 3116 for (WeakMember<ScrollableArea>& scroller : m_anchoringAdjustmentQueue) { | 3116 for (WeakMember<ScrollableArea>& scroller : m_anchoringAdjustmentQueue) { |
| 3117 if (scroller) { | 3117 if (scroller) { |
| 3118 DCHECK(scroller->scrollAnchor()); | 3118 DCHECK(scroller->scrollAnchor()); |
| 3119 scroller->scrollAnchor()->adjust(); | 3119 scroller->scrollAnchor()->adjust(); |
| 3120 } | 3120 } |
| 3121 } | 3121 } |
| 3122 m_anchoringAdjustmentQueue.clear(); | 3122 m_anchoringAdjustmentQueue.clear(); |
| (...skipping 2128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5251 void FrameView::setAnimationHost( | 5251 void FrameView::setAnimationHost( |
| 5252 std::unique_ptr<CompositorAnimationHost> host) { | 5252 std::unique_ptr<CompositorAnimationHost> host) { |
| 5253 m_animationHost = std::move(host); | 5253 m_animationHost = std::move(host); |
| 5254 } | 5254 } |
| 5255 | 5255 |
| 5256 LayoutUnit FrameView::caretWidth() const { | 5256 LayoutUnit FrameView::caretWidth() const { |
| 5257 return LayoutUnit(getHostWindow()->windowToViewportScalar(1)); | 5257 return LayoutUnit(getHostWindow()->windowToViewportScalar(1)); |
| 5258 } | 5258 } |
| 5259 | 5259 |
| 5260 } // namespace blink | 5260 } // namespace blink |
| OLD | NEW |