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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
603 | 603 |
604 // Only for LayoutPart to traverse into sub frames during paint invalidation . | 604 // Only for LayoutPart to traverse into sub frames during paint invalidation . |
605 void invalidateTreeIfNeeded(PaintInvalidationState&); | 605 void invalidateTreeIfNeeded(PaintInvalidationState&); |
606 | 606 |
607 private: | 607 private: |
608 explicit FrameView(LocalFrame*); | 608 explicit FrameView(LocalFrame*); |
609 | 609 |
610 void setScrollOffset(const IntPoint&, ScrollType) override; | 610 void setScrollOffset(const IntPoint&, ScrollType) override; |
611 void setScrollOffset(const DoublePoint&, ScrollType) override; | 611 void setScrollOffset(const DoublePoint&, ScrollType) override; |
612 | 612 |
613 void updateAllLifecyclePhasesInternal(); | 613 enum LifeCycleUpdateOption { |
614 AllPhases, | |
615 OnlyUpToCompositingClean, | |
chrishtr
2015/08/11 16:56:12
plus scrolling
ojan
2015/08/11 17:18:53
It's weird to me to have a pipeline and list multi
| |
616 }; | |
617 | |
618 void updateLifecyclePhasesInternal(LifeCycleUpdateOption); | |
614 void invalidateTreeIfNeededRecursive(); | 619 void invalidateTreeIfNeededRecursive(); |
615 void scrollContentsIfNeededRecursive(); | 620 void scrollContentsIfNeededRecursive(); |
616 void updateStyleAndLayoutIfNeededRecursive(); | 621 void updateStyleAndLayoutIfNeededRecursive(); |
617 void updatePostLifecycleData(); | 622 void updatePostLifecycleData(); |
618 | 623 |
619 void reset(); | 624 void reset(); |
620 void init(); | 625 void init(); |
621 | 626 |
622 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); | 627 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); |
623 | 628 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
866 static const unsigned visualPixelThreshold = 32 * 32; | 871 static const unsigned visualPixelThreshold = 32 * 32; |
867 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 872 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
868 setIsVisuallyNonEmpty(); | 873 setIsVisuallyNonEmpty(); |
869 } | 874 } |
870 | 875 |
871 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); | 876 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); |
872 | 877 |
873 } // namespace blink | 878 } // namespace blink |
874 | 879 |
875 #endif // FrameView_h | 880 #endif // FrameView_h |
OLD | NEW |