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

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

Issue 2316233003: Fix typo in TODO (Closed)
Patch Set: fix Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2667 matching lines...) Expand 10 before | Expand all | Expand 10 after
2678 forAllNonThrottledFrameViews([](FrameView& frameView) { frameView.lifecycle( ).advanceTo(DocumentLifecycle::InPaint); }); 2678 forAllNonThrottledFrameViews([](FrameView& frameView) { frameView.lifecycle( ).advanceTo(DocumentLifecycle::InPaint); });
2679 2679
2680 // A null graphics layer can occur for painting of SVG images that are not p arented into the main frame tree, 2680 // A null graphics layer can occur for painting of SVG images that are not p arented into the main frame tree,
2681 // or when the FrameView is the main frame view of a page overlay. The page overlay is in the layer tree of 2681 // or when the FrameView is the main frame view of a page overlay. The page overlay is in the layer tree of
2682 // the host page and will be painted during synchronized painting of the hos t page. 2682 // the host page and will be painted during synchronized painting of the hos t page.
2683 if (GraphicsLayer* rootGraphicsLayer = view.compositor()->rootGraphicsLayer( )) { 2683 if (GraphicsLayer* rootGraphicsLayer = view.compositor()->rootGraphicsLayer( )) {
2684 synchronizedPaintRecursively(rootGraphicsLayer); 2684 synchronizedPaintRecursively(rootGraphicsLayer);
2685 } 2685 }
2686 2686
2687 // TODO(sataya.m):Main frame doesn't create RootFrameViewport in some 2687 // TODO(sataya.m):Main frame doesn't create RootFrameViewport in some
2688 // webkit_unit_tests (http://crbug.com/607987). 2688 // webkit_unit_tests (http://crbug.com/644788).
2689 if (m_viewportScrollableArea) { 2689 if (m_viewportScrollableArea) {
2690 if (GraphicsLayer* layerForHorizontalScrollbar = m_viewportScrollableAre a->layerForHorizontalScrollbar()) { 2690 if (GraphicsLayer* layerForHorizontalScrollbar = m_viewportScrollableAre a->layerForHorizontalScrollbar()) {
2691 synchronizedPaintRecursively(layerForHorizontalScrollbar); 2691 synchronizedPaintRecursively(layerForHorizontalScrollbar);
2692 } 2692 }
2693 if (GraphicsLayer* layerForVerticalScrollbar = m_viewportScrollableArea- >layerForVerticalScrollbar()) { 2693 if (GraphicsLayer* layerForVerticalScrollbar = m_viewportScrollableArea- >layerForVerticalScrollbar()) {
2694 synchronizedPaintRecursively(layerForVerticalScrollbar); 2694 synchronizedPaintRecursively(layerForVerticalScrollbar);
2695 } 2695 }
2696 if (GraphicsLayer* layerForScrollCorner = m_viewportScrollableArea->laye rForScrollCorner()) { 2696 if (GraphicsLayer* layerForScrollCorner = m_viewportScrollableArea->laye rForScrollCorner()) {
2697 synchronizedPaintRecursively(layerForScrollCorner); 2697 synchronizedPaintRecursively(layerForScrollCorner);
2698 } 2698 }
(...skipping 1637 matching lines...) Expand 10 before | Expand all | Expand 10 after
4336 } 4336 }
4337 4337
4338 bool FrameView::canThrottleRendering() const 4338 bool FrameView::canThrottleRendering() const
4339 { 4339 {
4340 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) 4340 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled())
4341 return false; 4341 return false;
4342 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling); 4342 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling);
4343 } 4343 }
4344 4344
4345 } // namespace blink 4345 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698