| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 | 315 |
| 316 bool shouldSuspendScrollAnimations() const override; | 316 bool shouldSuspendScrollAnimations() const override; |
| 317 void scrollbarStyleChanged() override; | 317 void scrollbarStyleChanged() override; |
| 318 | 318 |
| 319 LayoutReplaced* embeddedReplacedContent() const; | 319 LayoutReplaced* embeddedReplacedContent() const; |
| 320 | 320 |
| 321 static void setInitialTracksPaintInvalidationsForTesting(bool); | 321 static void setInitialTracksPaintInvalidationsForTesting(bool); |
| 322 | 322 |
| 323 void setTracksPaintInvalidations(bool); | 323 void setTracksPaintInvalidations(bool); |
| 324 bool isTrackingPaintInvalidations() const { return m_isTrackingPaintInvalida
tions; } | 324 bool isTrackingPaintInvalidations() const { return m_isTrackingPaintInvalida
tions; } |
| 325 void resetTrackedPaintInvalidations(); | |
| 326 | 325 |
| 327 using ScrollableAreaSet = HeapHashSet<Member<ScrollableArea>>; | 326 using ScrollableAreaSet = HeapHashSet<Member<ScrollableArea>>; |
| 328 void addScrollableArea(ScrollableArea*); | 327 void addScrollableArea(ScrollableArea*); |
| 329 void removeScrollableArea(ScrollableArea*); | 328 void removeScrollableArea(ScrollableArea*); |
| 330 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } | 329 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } |
| 331 | 330 |
| 332 void addAnimatingScrollableArea(ScrollableArea*); | 331 void addAnimatingScrollableArea(ScrollableArea*); |
| 333 void removeAnimatingScrollableArea(ScrollableArea*); | 332 void removeAnimatingScrollableArea(ScrollableArea*); |
| 334 const ScrollableAreaSet* animatingScrollableAreas() const { return m_animati
ngScrollableAreas.get(); } | 333 const ScrollableAreaSet* animatingScrollableAreas() const { return m_animati
ngScrollableAreas.get(); } |
| 335 | 334 |
| (...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 940 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 942 setIsVisuallyNonEmpty(); | 941 setIsVisuallyNonEmpty(); |
| 943 } | 942 } |
| 944 | 943 |
| 945 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 944 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 946 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); | 945 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); |
| 947 | 946 |
| 948 } // namespace blink | 947 } // namespace blink |
| 949 | 948 |
| 950 #endif // FrameView_h | 949 #endif // FrameView_h |
| OLD | NEW |