| 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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 | 608 |
| 609 enum LifeCycleUpdateOption { | 609 enum LifeCycleUpdateOption { |
| 610 AllPhases, | 610 AllPhases, |
| 611 OnlyUpToCompositingCleanPlusScrolling, | 611 OnlyUpToCompositingCleanPlusScrolling, |
| 612 }; | 612 }; |
| 613 | 613 |
| 614 void updateLifecyclePhasesInternal(LifeCycleUpdateOption); | 614 void updateLifecyclePhasesInternal(LifeCycleUpdateOption); |
| 615 void invalidateTreeIfNeededRecursive(); | 615 void invalidateTreeIfNeededRecursive(); |
| 616 void scrollContentsIfNeededRecursive(); | 616 void scrollContentsIfNeededRecursive(); |
| 617 void updateStyleAndLayoutIfNeededRecursive(); | 617 void updateStyleAndLayoutIfNeededRecursive(); |
| 618 void paintForSlimmingPaintV2(); |
| 619 void compositeForSlimmingPaintV2(); |
| 618 | 620 |
| 619 void reset(); | 621 void reset(); |
| 620 void init(); | 622 void init(); |
| 621 | 623 |
| 622 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); | 624 void clearLayoutSubtreeRootsAndMarkContainingBlocks(); |
| 623 | 625 |
| 624 // Called when our frame rect changes (or the rect/scroll position of an anc
estor changes). | 626 // Called when our frame rect changes (or the rect/scroll position of an anc
estor changes). |
| 625 void frameRectsChanged() override; | 627 void frameRectsChanged() override; |
| 626 | 628 |
| 627 friend class LayoutPart; | 629 friend class LayoutPart; |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 static const unsigned visualPixelThreshold = 32 * 32; | 864 static const unsigned visualPixelThreshold = 32 * 32; |
| 863 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 865 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 864 setIsVisuallyNonEmpty(); | 866 setIsVisuallyNonEmpty(); |
| 865 } | 867 } |
| 866 | 868 |
| 867 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 869 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 868 | 870 |
| 869 } // namespace blink | 871 } // namespace blink |
| 870 | 872 |
| 871 #endif // FrameView_h | 873 #endif // FrameView_h |
| OLD | NEW |