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

Side by Side Diff: Source/core/frame/LocalFrame.cpp

Issue 306413002: Rename Repaint to Paint Invalidation Part 2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | 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 Simon Hausmann <hausmann@kde.org> 5 * 2000 Simon Hausmann <hausmann@kde.org>
6 * 2000 Stefan Schimanski <1Stein@gmx.de> 6 * 2000 Stefan Schimanski <1Stein@gmx.de>
7 * 2001 George Staikos <staikos@kde.org> 7 * 2001 George Staikos <staikos@kde.org>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> 9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com>
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 if (!contentRenderer()) 445 if (!contentRenderer())
446 return String(); 446 return String();
447 447
448 return contentRenderer()->compositor()->layerTreeAsText(static_cast<LayerTre eFlags>(flags)); 448 return contentRenderer()->compositor()->layerTreeAsText(static_cast<LayerTre eFlags>(flags));
449 } 449 }
450 450
451 String LocalFrame::trackedRepaintRectsAsText() const 451 String LocalFrame::trackedRepaintRectsAsText() const
452 { 452 {
453 if (!m_view) 453 if (!m_view)
454 return String(); 454 return String();
455 return m_view->trackedRepaintRectsAsText(); 455 return m_view->trackedPaintInvalidationRectsAsText();
456 } 456 }
457 457
458 void LocalFrame::setPageZoomFactor(float factor) 458 void LocalFrame::setPageZoomFactor(float factor)
459 { 459 {
460 setPageAndTextZoomFactors(factor, m_textZoomFactor); 460 setPageAndTextZoomFactors(factor, m_textZoomFactor);
461 } 461 }
462 462
463 void LocalFrame::setTextZoomFactor(float factor) 463 void LocalFrame::setTextZoomFactor(float factor)
464 { 464 {
465 setPageAndTextZoomFactors(m_pageZoomFactor, factor); 465 setPageAndTextZoomFactors(m_pageZoomFactor, factor);
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 LocalFrame* LocalFrame::localFrameRoot() 656 LocalFrame* LocalFrame::localFrameRoot()
657 { 657 {
658 LocalFrame* curFrame = this; 658 LocalFrame* curFrame = this;
659 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i sLocalFrame()) 659 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i sLocalFrame())
660 curFrame = curFrame->tree().parent(); 660 curFrame = curFrame->tree().parent();
661 661
662 return curFrame; 662 return curFrame;
663 } 663 }
664 664
665 } // namespace WebCore 665 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698