| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) |
| 3 (C) 1998 Waldo Bastian (bastian@kde.org) | 3 (C) 1998 Waldo Bastian (bastian@kde.org) |
| 4 (C) 1998, 1999 Torben Weis (weis@kde.org) | 4 (C) 1998, 1999 Torben Weis (weis@kde.org) |
| 5 (C) 1999 Lars Knoll (knoll@kde.org) | 5 (C) 1999 Lars Knoll (knoll@kde.org) |
| 6 (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 8 | 8 |
| 9 This library is free software; you can redistribute it and/or | 9 This library is free software; you can redistribute it and/or |
| 10 modify it under the terms of the GNU Library General Public | 10 modify it under the terms of the GNU Library General Public |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 bool scrollbarCornerPresent() const; | 542 bool scrollbarCornerPresent() const; |
| 543 virtual IntRect scrollCornerRect() const override; | 543 virtual IntRect scrollCornerRect() const override; |
| 544 | 544 |
| 545 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const
IntRect&) const override; | 545 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const
IntRect&) const override; |
| 546 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const
IntRect&) const override; | 546 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const
IntRect&) const override; |
| 547 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons
t IntPoint&) const override; | 547 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons
t IntPoint&) const override; |
| 548 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons
t IntPoint&) const override; | 548 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons
t IntPoint&) const override; |
| 549 | 549 |
| 550 virtual bool isFrameView() const override { return true; } | 550 virtual bool isFrameView() const override { return true; } |
| 551 | 551 |
| 552 virtual void trace(Visitor*) override; | 552 DECLARE_VIRTUAL_TRACE(); |
| 553 void notifyPageThatContentAreaWillPaint() const; | 553 void notifyPageThatContentAreaWillPaint() const; |
| 554 FrameView* parentFrameView() const; | 554 FrameView* parentFrameView() const; |
| 555 | 555 |
| 556 void calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntR
ect& verticalOverhangRect); | 556 void calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntR
ect& verticalOverhangRect); |
| 557 | 557 |
| 558 // Returns the scrollable area for the frame. | 558 // Returns the scrollable area for the frame. |
| 559 ScrollableArea* scrollableArea(); | 559 ScrollableArea* scrollableArea(); |
| 560 | 560 |
| 561 void lineLayoutTime(double ms); | 561 void lineLayoutTime(double ms); |
| 562 | 562 |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 static const unsigned visualPixelThreshold = 32 * 32; | 857 static const unsigned visualPixelThreshold = 32 * 32; |
| 858 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 858 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 859 setIsVisuallyNonEmpty(); | 859 setIsVisuallyNonEmpty(); |
| 860 } | 860 } |
| 861 | 861 |
| 862 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 862 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 863 | 863 |
| 864 } // namespace blink | 864 } // namespace blink |
| 865 | 865 |
| 866 #endif // FrameView_h | 866 #endif // FrameView_h |
| OLD | NEW |