| 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 bool isTrackingPaintInvalidations() const { return m_isTrackingPaintInvalida
tions; } | 282 bool isTrackingPaintInvalidations() const { return m_isTrackingPaintInvalida
tions; } |
| 283 void resetTrackedPaintInvalidations(); | 283 void resetTrackedPaintInvalidations(); |
| 284 | 284 |
| 285 String trackedPaintInvalidationRectsAsText() const; | 285 String trackedPaintInvalidationRectsAsText() const; |
| 286 | 286 |
| 287 typedef HashSet<ScrollableArea*> ScrollableAreaSet; | 287 typedef HashSet<ScrollableArea*> ScrollableAreaSet; |
| 288 void addScrollableArea(ScrollableArea*); | 288 void addScrollableArea(ScrollableArea*); |
| 289 void removeScrollableArea(ScrollableArea*); | 289 void removeScrollableArea(ScrollableArea*); |
| 290 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } | 290 const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.
get(); } |
| 291 | 291 |
| 292 void addAnimatingScrollableArea(ScrollableArea*); |
| 293 void removeAnimatingScrollableArea(ScrollableArea*); |
| 294 const ScrollableAreaSet* animatingScrollableAreas() const { return m_animati
ngScrollableAreas.get(); } |
| 295 |
| 292 // With CSS style "resize:" enabled, a little resizer handle will appear at
the bottom | 296 // With CSS style "resize:" enabled, a little resizer handle will appear at
the bottom |
| 293 // right of the object. We keep track of these resizer areas for checking if
touches | 297 // right of the object. We keep track of these resizer areas for checking if
touches |
| 294 // (implemented using Scroll gesture) are targeting the resizer. | 298 // (implemented using Scroll gesture) are targeting the resizer. |
| 295 typedef HashSet<RenderBox*> ResizerAreaSet; | 299 typedef HashSet<RenderBox*> ResizerAreaSet; |
| 296 void addResizerArea(RenderBox&); | 300 void addResizerArea(RenderBox&); |
| 297 void removeResizerArea(RenderBox&); | 301 void removeResizerArea(RenderBox&); |
| 298 const ResizerAreaSet* resizerAreas() const { return m_resizerAreas.get(); } | 302 const ResizerAreaSet* resizerAreas() const { return m_resizerAreas.get(); } |
| 299 | 303 |
| 300 // This function exists for ports that need to handle wheel events manually. | 304 // This function exists for ports that need to handle wheel events manually. |
| 301 // On Mac WebKit1 the underlying NSScrollView just does the scrolling, but o
n most other platforms | 305 // On Mac WebKit1 the underlying NSScrollView just does the scrolling, but o
n most other platforms |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 unsigned m_visuallyNonEmptyPixelCount; | 745 unsigned m_visuallyNonEmptyPixelCount; |
| 742 bool m_isVisuallyNonEmpty; | 746 bool m_isVisuallyNonEmpty; |
| 743 bool m_firstVisuallyNonEmptyLayoutCallbackPending; | 747 bool m_firstVisuallyNonEmptyLayoutCallbackPending; |
| 744 | 748 |
| 745 RefPtrWillBeMember<Node> m_maintainScrollPositionAnchor; | 749 RefPtrWillBeMember<Node> m_maintainScrollPositionAnchor; |
| 746 | 750 |
| 747 // Renderer to hold our custom scroll corner. | 751 // Renderer to hold our custom scroll corner. |
| 748 RawPtrWillBeMember<RenderScrollbarPart> m_scrollCorner; | 752 RawPtrWillBeMember<RenderScrollbarPart> m_scrollCorner; |
| 749 | 753 |
| 750 OwnPtr<ScrollableAreaSet> m_scrollableAreas; | 754 OwnPtr<ScrollableAreaSet> m_scrollableAreas; |
| 755 OwnPtr<ScrollableAreaSet> m_animatingScrollableAreas; |
| 751 OwnPtr<ResizerAreaSet> m_resizerAreas; | 756 OwnPtr<ResizerAreaSet> m_resizerAreas; |
| 752 OwnPtr<ViewportConstrainedObjectSet> m_viewportConstrainedObjects; | 757 OwnPtr<ViewportConstrainedObjectSet> m_viewportConstrainedObjects; |
| 753 OwnPtrWillBeMember<FrameViewAutoSizeInfo> m_autoSizeInfo; | 758 OwnPtrWillBeMember<FrameViewAutoSizeInfo> m_autoSizeInfo; |
| 754 | 759 |
| 755 float m_visibleContentScaleFactor; | 760 float m_visibleContentScaleFactor; |
| 756 IntSize m_inputEventsOffsetForEmulation; | 761 IntSize m_inputEventsOffsetForEmulation; |
| 757 float m_inputEventsScaleFactorForEmulation; | 762 float m_inputEventsScaleFactorForEmulation; |
| 758 | 763 |
| 759 IntSize m_layoutSize; | 764 IntSize m_layoutSize; |
| 760 bool m_layoutSizeFixedToFrameSize; | 765 bool m_layoutSizeFixedToFrameSize; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 } | 850 } |
| 846 | 851 |
| 847 private: | 852 private: |
| 848 RawPtrWillBeMember<FrameView> m_view; | 853 RawPtrWillBeMember<FrameView> m_view; |
| 849 bool m_originalValue; | 854 bool m_originalValue; |
| 850 }; | 855 }; |
| 851 | 856 |
| 852 } // namespace blink | 857 } // namespace blink |
| 853 | 858 |
| 854 #endif // FrameView_h | 859 #endif // FrameView_h |
| OLD | NEW |