| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 void invalidateBackgroundAttachmentFixedObjects(); | 221 void invalidateBackgroundAttachmentFixedObjects(); |
| 222 | 222 |
| 223 void handleLoadCompleted(); | 223 void handleLoadCompleted(); |
| 224 | 224 |
| 225 void updateDocumentAnnotatedRegions() const; | 225 void updateDocumentAnnotatedRegions() const; |
| 226 | 226 |
| 227 void didAttachDocument(); | 227 void didAttachDocument(); |
| 228 | 228 |
| 229 void restoreScrollbar(); | 229 void restoreScrollbar(); |
| 230 | 230 |
| 231 void postLayoutTimerFired(Timer<FrameView>*); | 231 void postLayoutTimerFired(TimerBase*); |
| 232 | 232 |
| 233 bool safeToPropagateScrollToParent() const { return m_safeToPropagateScrollT
oParent; } | 233 bool safeToPropagateScrollToParent() const { return m_safeToPropagateScrollT
oParent; } |
| 234 void setSafeToPropagateScrollToParent(bool isSafe) { m_safeToPropagateScroll
ToParent = isSafe; } | 234 void setSafeToPropagateScrollToParent(bool isSafe) { m_safeToPropagateScroll
ToParent = isSafe; } |
| 235 | 235 |
| 236 void addPart(LayoutPart*); | 236 void addPart(LayoutPart*); |
| 237 void removePart(LayoutPart*); | 237 void removePart(LayoutPart*); |
| 238 | 238 |
| 239 void updateWidgetGeometries(); | 239 void updateWidgetGeometries(); |
| 240 | 240 |
| 241 void addPartToUpdate(LayoutEmbeddedObject&); | 241 void addPartToUpdate(LayoutEmbeddedObject&); |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 IntPoint convertFromContainingWidget(const IntPoint&) const override; | 713 IntPoint convertFromContainingWidget(const IntPoint&) const override; |
| 714 | 714 |
| 715 void updateWidgetGeometriesIfNeeded(); | 715 void updateWidgetGeometriesIfNeeded(); |
| 716 | 716 |
| 717 bool wasViewportResized(); | 717 bool wasViewportResized(); |
| 718 void sendResizeEventIfNeeded(); | 718 void sendResizeEventIfNeeded(); |
| 719 | 719 |
| 720 void updateScrollableAreaSet(); | 720 void updateScrollableAreaSet(); |
| 721 | 721 |
| 722 void scheduleUpdateWidgetsIfNecessary(); | 722 void scheduleUpdateWidgetsIfNecessary(); |
| 723 void updateWidgetsTimerFired(Timer<FrameView>*); | 723 void updateWidgetsTimerFired(TimerBase*); |
| 724 bool updateWidgets(); | 724 bool updateWidgets(); |
| 725 | 725 |
| 726 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior); | 726 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior); |
| 727 void setFragmentAnchor(Node*); | 727 void setFragmentAnchor(Node*); |
| 728 void scrollToFragmentAnchor(); | 728 void scrollToFragmentAnchor(); |
| 729 void didScrollTimerFired(Timer<FrameView>*); | 729 void didScrollTimerFired(TimerBase*); |
| 730 | 730 |
| 731 void updateLayersAndCompositingAfterScrollIfNeeded(const DoubleSize& scrollD
elta); | 731 void updateLayersAndCompositingAfterScrollIfNeeded(const DoubleSize& scrollD
elta); |
| 732 | 732 |
| 733 static bool computeCompositedSelection(LocalFrame&, CompositedSelection&); | 733 static bool computeCompositedSelection(LocalFrame&, CompositedSelection&); |
| 734 void updateCompositedSelectionIfNeeded(); | 734 void updateCompositedSelectionIfNeeded(); |
| 735 | 735 |
| 736 // Returns true if the FrameView's own scrollbars overlay its content when v
isible. | 736 // Returns true if the FrameView's own scrollbars overlay its content when v
isible. |
| 737 bool hasOverlayScrollbars() const; | 737 bool hasOverlayScrollbars() const; |
| 738 | 738 |
| 739 // Returns true if the frame should use custom scrollbars. If true, one of | 739 // Returns true if the frame should use custom scrollbars. If true, one of |
| (...skipping 223 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 |