Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2655383002: Use GeometryMapper in PaintLayerClipper. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2793 matching lines...) Expand 10 before | Expand all | Expand 10 after
2804 2804
2805 void FrameView::updateWidgetGeometriesIfNeeded() { 2805 void FrameView::updateWidgetGeometriesIfNeeded() {
2806 if (!m_needsUpdateWidgetGeometries) 2806 if (!m_needsUpdateWidgetGeometries)
2807 return; 2807 return;
2808 2808
2809 m_needsUpdateWidgetGeometries = false; 2809 m_needsUpdateWidgetGeometries = false;
2810 2810
2811 updateWidgetGeometries(); 2811 updateWidgetGeometries();
2812 } 2812 }
2813 2813
2814 GeometryMapper* FrameView::geometryMapper() {
2815 return frame().localFrameRoot()->view()->m_geometryMapper.get();
2816 }
2817
2814 void FrameView::updateAllLifecyclePhases() { 2818 void FrameView::updateAllLifecyclePhases() {
2815 frame().localFrameRoot()->view()->updateLifecyclePhasesInternal( 2819 frame().localFrameRoot()->view()->updateLifecyclePhasesInternal(
2816 DocumentLifecycle::PaintClean); 2820 DocumentLifecycle::PaintClean);
2817 } 2821 }
2818 2822
2819 // TODO(chrishtr): add a scrolling update lifecycle phase. 2823 // TODO(chrishtr): add a scrolling update lifecycle phase.
2820 void FrameView::updateLifecycleToCompositingCleanPlusScrolling() { 2824 void FrameView::updateLifecycleToCompositingCleanPlusScrolling() {
2821 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { 2825 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
2822 updateAllLifecyclePhasesExceptPaint(); 2826 updateAllLifecyclePhasesExceptPaint();
2823 } else { 2827 } else {
(...skipping 2251 matching lines...) Expand 10 before | Expand all | Expand 10 after
5075 std::unique_ptr<CompositorAnimationTimeline> timeline) { 5079 std::unique_ptr<CompositorAnimationTimeline> timeline) {
5076 m_animationTimeline = std::move(timeline); 5080 m_animationTimeline = std::move(timeline);
5077 } 5081 }
5078 5082
5079 void FrameView::setAnimationHost( 5083 void FrameView::setAnimationHost(
5080 std::unique_ptr<CompositorAnimationHost> host) { 5084 std::unique_ptr<CompositorAnimationHost> host) {
5081 m_animationHost = std::move(host); 5085 m_animationHost = std::move(host);
5082 } 5086 }
5083 5087
5084 } // namespace blink 5088 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | third_party/WebKit/Source/core/paint/PaintLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698