| 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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); | 622 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); |
| 623 | 623 |
| 624 // Called when our frame rect changes (or the rect/scroll position of an anc
estor changes). | 624 // Called when our frame rect changes (or the rect/scroll position of an anc
estor changes). |
| 625 virtual void frameRectsChanged() override; | 625 virtual void frameRectsChanged() override; |
| 626 | 626 |
| 627 friend class LayoutPart; | 627 friend class LayoutPart; |
| 628 | 628 |
| 629 bool contentsInCompositedLayer() const; | 629 bool contentsInCompositedLayer() const; |
| 630 | 630 |
| 631 void applyOverflowToViewport(LayoutObject*, ScrollbarMode& hMode, ScrollbarM
ode& vMode); | 631 void applyOverflowToViewport(LayoutObject*, ScrollbarMode& hMode, ScrollbarM
ode& vMode); |
| 632 void updateOverflowStatus(bool horizontalOverflow, bool verticalOverflow); | |
| 633 | 632 |
| 634 void updateCounters(); | 633 void updateCounters(); |
| 635 void forceLayoutParentViewIfNeeded(); | 634 void forceLayoutParentViewIfNeeded(); |
| 636 void performPreLayoutTasks(); | 635 void performPreLayoutTasks(); |
| 637 void performLayout(bool inSubtreeLayout); | 636 void performLayout(bool inSubtreeLayout); |
| 638 void scheduleOrPerformPostLayoutTasks(); | 637 void scheduleOrPerformPostLayoutTasks(); |
| 639 void performPostLayoutTasks(); | 638 void performPostLayoutTasks(); |
| 640 | 639 |
| 641 DocumentLifecycle& lifecycle() const; | 640 DocumentLifecycle& lifecycle() const; |
| 642 | 641 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 | 754 |
| 756 bool m_firstLayout; | 755 bool m_firstLayout; |
| 757 bool m_isTransparent; | 756 bool m_isTransparent; |
| 758 Color m_baseBackgroundColor; | 757 Color m_baseBackgroundColor; |
| 759 IntSize m_lastViewportSize; | 758 IntSize m_lastViewportSize; |
| 760 float m_lastZoomFactor; | 759 float m_lastZoomFactor; |
| 761 | 760 |
| 762 AtomicString m_mediaType; | 761 AtomicString m_mediaType; |
| 763 AtomicString m_mediaTypeWhenNotPrinting; | 762 AtomicString m_mediaTypeWhenNotPrinting; |
| 764 | 763 |
| 765 bool m_overflowStatusDirty; | |
| 766 bool m_horizontalOverflow; | |
| 767 bool m_verticalOverflow; | |
| 768 | |
| 769 // TODO(skobes): Move this to DocumentLoader::InitialScrollState. | 764 // TODO(skobes): Move this to DocumentLoader::InitialScrollState. |
| 770 bool m_wasScrolledByUser; | 765 bool m_wasScrolledByUser; |
| 771 | 766 |
| 772 bool m_safeToPropagateScrollToParent; | 767 bool m_safeToPropagateScrollToParent; |
| 773 | 768 |
| 774 double m_lastPaintTime; | 769 double m_lastPaintTime; |
| 775 | 770 |
| 776 bool m_isTrackingPaintInvalidations; // Used for testing. | 771 bool m_isTrackingPaintInvalidations; // Used for testing. |
| 777 | 772 |
| 778 // In frame coordinates. | 773 // In frame coordinates. |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 870 static const unsigned visualPixelThreshold = 32 * 32; | 865 static const unsigned visualPixelThreshold = 32 * 32; |
| 871 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 866 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 872 setIsVisuallyNonEmpty(); | 867 setIsVisuallyNonEmpty(); |
| 873 } | 868 } |
| 874 | 869 |
| 875 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 870 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 876 | 871 |
| 877 } // namespace blink | 872 } // namespace blink |
| 878 | 873 |
| 879 #endif // FrameView_h | 874 #endif // FrameView_h |
| OLD | NEW |