| 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 void scrollbarStyleChanged() override; | 320 void scrollbarStyleChanged() override; |
| 321 | 321 |
| 322 LayoutReplaced* embeddedReplacedContent() const; | 322 LayoutReplaced* embeddedReplacedContent() const; |
| 323 | 323 |
| 324 static void setInitialTracksPaintInvalidationsForTesting(bool); | 324 static void setInitialTracksPaintInvalidationsForTesting(bool); |
| 325 | 325 |
| 326 // These methods are for testing. | 326 // These methods are for testing. |
| 327 void setTracksPaintInvalidations(bool); | 327 void setTracksPaintInvalidations(bool); |
| 328 bool isTrackingPaintInvalidations() const { return m_trackedObjectPaintInval
idations.get(); } | 328 bool isTrackingPaintInvalidations() const { return m_trackedObjectPaintInval
idations.get(); } |
| 329 void trackObjectPaintInvalidation(const DisplayItemClient&, PaintInvalidatio
nReason); | 329 void trackObjectPaintInvalidation(const DisplayItemClient&, PaintInvalidatio
nReason); |
| 330 PassRefPtr<JSONArray> trackedObjectPaintInvalidationsAsJSON() const; | 330 std::unique_ptr<JSONArray> trackedObjectPaintInvalidationsAsJSON() const; |
| 331 | 331 |
| 332 using ScrollableAreaSet = HeapHashSet<Member<ScrollableArea>>; | 332 using ScrollableAreaSet = HeapHashSet<Member<ScrollableArea>>; |
| 333 void addScrollableArea(ScrollableArea*); | 333 void addScrollableArea(ScrollableArea*); |
| 334 void removeScrollableArea(ScrollableArea*); | 334 void removeScrollableArea(ScrollableArea*); |
| 335 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } | 335 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } |
| 336 | 336 |
| 337 void addAnimatingScrollableArea(ScrollableArea*); | 337 void addAnimatingScrollableArea(ScrollableArea*); |
| 338 void removeAnimatingScrollableArea(ScrollableArea*); | 338 void removeAnimatingScrollableArea(ScrollableArea*); |
| 339 const ScrollableAreaSet* animatingScrollableAreas() const { return m_animati
ngScrollableAreas.get(); } | 339 const ScrollableAreaSet* animatingScrollableAreas() const { return m_animati
ngScrollableAreas.get(); } |
| 340 | 340 |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 963 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 963 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 964 setIsVisuallyNonEmpty(); | 964 setIsVisuallyNonEmpty(); |
| 965 } | 965 } |
| 966 | 966 |
| 967 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 967 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 968 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); | 968 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); |
| 969 | 969 |
| 970 } // namespace blink | 970 } // namespace blink |
| 971 | 971 |
| 972 #endif // FrameView_h | 972 #endif // FrameView_h |
| OLD | NEW |