| 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 void notifyPageThatContentAreaWillPaint() const; | 542 void notifyPageThatContentAreaWillPaint() const; |
| 543 FrameView* parentFrameView() const; | 543 FrameView* parentFrameView() const; |
| 544 | 544 |
| 545 void calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntR
ect& verticalOverhangRect); | 545 void calculateOverhangAreasForPainting(IntRect& horizontalOverhangRect, IntR
ect& verticalOverhangRect); |
| 546 | 546 |
| 547 // Returns the scrollable area for the frame. | 547 // Returns the scrollable area for the frame. |
| 548 ScrollableArea* scrollableArea(); | 548 ScrollableArea* scrollableArea(); |
| 549 | 549 |
| 550 void lineLayoutTime(double ms); | 550 void lineLayoutTime(double ms); |
| 551 | 551 |
| 552 int viewportWidth() const; |
| 553 |
| 552 protected: | 554 protected: |
| 553 // Scroll the content via the compositor. | 555 // Scroll the content via the compositor. |
| 554 bool scrollContentsFastPath(const IntSize& scrollDelta); | 556 bool scrollContentsFastPath(const IntSize& scrollDelta); |
| 555 | 557 |
| 556 // Scroll the content by invalidating everything. | 558 // Scroll the content by invalidating everything. |
| 557 void scrollContentsSlowPath(const IntRect& updateRect); | 559 void scrollContentsSlowPath(const IntRect& updateRect); |
| 558 | 560 |
| 559 bool isVerticalDocument() const; | 561 bool isVerticalDocument() const; |
| 560 bool isFlippedDocument() const; | 562 bool isFlippedDocument() const; |
| 561 | 563 |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 844 static const unsigned visualPixelThreshold = 32 * 32; | 846 static const unsigned visualPixelThreshold = 32 * 32; |
| 845 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 847 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 846 setIsVisuallyNonEmpty(); | 848 setIsVisuallyNonEmpty(); |
| 847 } | 849 } |
| 848 | 850 |
| 849 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 851 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 850 | 852 |
| 851 } // namespace blink | 853 } // namespace blink |
| 852 | 854 |
| 853 #endif // FrameView_h | 855 #endif // FrameView_h |
| OLD | NEW |