| 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 void scrollbarVisibilityChanged() override; | 281 void scrollbarVisibilityChanged() override; |
| 282 | 282 |
| 283 // FIXME: Remove this method once plugin loading is decoupled from layout. | 283 // FIXME: Remove this method once plugin loading is decoupled from layout. |
| 284 void flushAnyPendingPostLayoutTasks(); | 284 void flushAnyPendingPostLayoutTasks(); |
| 285 | 285 |
| 286 bool shouldSuspendScrollAnimations() const override; | 286 bool shouldSuspendScrollAnimations() const override; |
| 287 void scrollbarStyleChanged() override; | 287 void scrollbarStyleChanged() override; |
| 288 | 288 |
| 289 LayoutBox* embeddedContentBox() const; | 289 LayoutBox* embeddedContentBox() const; |
| 290 | 290 |
| 291 static void setInitialTracksPaintInvalidationsForTesting(bool); | |
| 292 | |
| 293 void setTracksPaintInvalidations(bool); | 291 void setTracksPaintInvalidations(bool); |
| 294 bool isTrackingPaintInvalidations() const { return m_isTrackingPaintInvalida
tions; } | 292 bool isTrackingPaintInvalidations() const { return m_isTrackingPaintInvalida
tions; } |
| 295 void resetTrackedPaintInvalidations(); | 293 void resetTrackedPaintInvalidations(); |
| 296 | 294 |
| 297 using ScrollableAreaSet = WillBeHeapHashSet<RawPtrWillBeMember<ScrollableAre
a>>; | 295 using ScrollableAreaSet = WillBeHeapHashSet<RawPtrWillBeMember<ScrollableAre
a>>; |
| 298 void addScrollableArea(ScrollableArea*); | 296 void addScrollableArea(ScrollableArea*); |
| 299 void removeScrollableArea(ScrollableArea*); | 297 void removeScrollableArea(ScrollableArea*); |
| 300 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } | 298 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } |
| 301 | 299 |
| 302 void addAnimatingScrollableArea(ScrollableArea*); | 300 void addAnimatingScrollableArea(ScrollableArea*); |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 static const unsigned visualPixelThreshold = 32 * 32; | 857 static const unsigned visualPixelThreshold = 32 * 32; |
| 860 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 858 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 861 setIsVisuallyNonEmpty(); | 859 setIsVisuallyNonEmpty(); |
| 862 } | 860 } |
| 863 | 861 |
| 864 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 862 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 865 | 863 |
| 866 } // namespace blink | 864 } // namespace blink |
| 867 | 865 |
| 868 #endif // FrameView_h | 866 #endif // FrameView_h |
| OLD | NEW |