| 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 3116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3127 | 3127 |
| 3128 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { | 3128 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { |
| 3129 Optional<CompositorElementIdSet> composited_element_ids = | 3129 Optional<CompositorElementIdSet> composited_element_ids = |
| 3130 CompositorElementIdSet(); | 3130 CompositorElementIdSet(); |
| 3131 PushPaintArtifactToCompositor(composited_element_ids.value()); | 3131 PushPaintArtifactToCompositor(composited_element_ids.value()); |
| 3132 DocumentAnimations::UpdateAnimations(GetLayoutView()->GetDocument(), | 3132 DocumentAnimations::UpdateAnimations(GetLayoutView()->GetDocument(), |
| 3133 DocumentLifecycle::kPaintClean, | 3133 DocumentLifecycle::kPaintClean, |
| 3134 composited_element_ids); | 3134 composited_element_ids); |
| 3135 } | 3135 } |
| 3136 | 3136 |
| 3137 DCHECK(!view.HasPendingSelection()); | 3137 DCHECK(!frame_->Selection().NeedsLayoutSelectionUpdate()); |
| 3138 DCHECK((frame_->GetDocument()->Printing() && | 3138 DCHECK((frame_->GetDocument()->Printing() && |
| 3139 Lifecycle().GetState() == DocumentLifecycle::kPrePaintClean) || | 3139 Lifecycle().GetState() == DocumentLifecycle::kPrePaintClean) || |
| 3140 Lifecycle().GetState() == DocumentLifecycle::kPaintClean); | 3140 Lifecycle().GetState() == DocumentLifecycle::kPaintClean); |
| 3141 } | 3141 } |
| 3142 | 3142 |
| 3143 ForAllNonThrottledFrameViews([](FrameView& frame_view) { | 3143 ForAllNonThrottledFrameViews([](FrameView& frame_view) { |
| 3144 frame_view.CheckDoesNotNeedLayout(); | 3144 frame_view.CheckDoesNotNeedLayout(); |
| 3145 frame_view.allows_layout_invalidation_after_layout_clean_ = true; | 3145 frame_view.allows_layout_invalidation_after_layout_clean_ = true; |
| 3146 }); | 3146 }); |
| 3147 } | 3147 } |
| (...skipping 2186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5334 void FrameView::SetAnimationHost( | 5334 void FrameView::SetAnimationHost( |
| 5335 std::unique_ptr<CompositorAnimationHost> host) { | 5335 std::unique_ptr<CompositorAnimationHost> host) { |
| 5336 animation_host_ = std::move(host); | 5336 animation_host_ = std::move(host); |
| 5337 } | 5337 } |
| 5338 | 5338 |
| 5339 LayoutUnit FrameView::CaretWidth() const { | 5339 LayoutUnit FrameView::CaretWidth() const { |
| 5340 return LayoutUnit(GetHostWindow()->WindowToViewportScalar(1)); | 5340 return LayoutUnit(GetHostWindow()->WindowToViewportScalar(1)); |
| 5341 } | 5341 } |
| 5342 | 5342 |
| 5343 } // namespace blink | 5343 } // namespace blink |
| OLD | NEW |