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 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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 if (!contentRenderer()) | 442 if (!contentRenderer()) |
443 return String(); | 443 return String(); |
444 | 444 |
445 return contentRenderer()->compositor()->layerTreeAsText(static_cast<LayerTre
eFlags>(flags)); | 445 return contentRenderer()->compositor()->layerTreeAsText(static_cast<LayerTre
eFlags>(flags)); |
446 } | 446 } |
447 | 447 |
448 String LocalFrame::trackedRepaintRectsAsText() const | 448 String LocalFrame::trackedRepaintRectsAsText() const |
449 { | 449 { |
450 if (!m_view) | 450 if (!m_view) |
451 return String(); | 451 return String(); |
452 return m_view->trackedRepaintRectsAsText(); | 452 return m_view->trackedPaintInvalidationRectsAsText(); |
453 } | 453 } |
454 | 454 |
455 void LocalFrame::setPageZoomFactor(float factor) | 455 void LocalFrame::setPageZoomFactor(float factor) |
456 { | 456 { |
457 setPageAndTextZoomFactors(factor, m_textZoomFactor); | 457 setPageAndTextZoomFactors(factor, m_textZoomFactor); |
458 } | 458 } |
459 | 459 |
460 void LocalFrame::setTextZoomFactor(float factor) | 460 void LocalFrame::setTextZoomFactor(float factor) |
461 { | 461 { |
462 setPageAndTextZoomFactors(m_pageZoomFactor, factor); | 462 setPageAndTextZoomFactors(m_pageZoomFactor, factor); |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 LocalFrame* LocalFrame::localFrameRoot() | 653 LocalFrame* LocalFrame::localFrameRoot() |
654 { | 654 { |
655 LocalFrame* curFrame = this; | 655 LocalFrame* curFrame = this; |
656 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i
sLocalFrame()) | 656 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i
sLocalFrame()) |
657 curFrame = curFrame->tree().parent(); | 657 curFrame = curFrame->tree().parent(); |
658 | 658 |
659 return curFrame; | 659 return curFrame; |
660 } | 660 } |
661 | 661 |
662 } // namespace WebCore | 662 } // namespace WebCore |
OLD | NEW |