| 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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 | 711 |
| 712 void scheduleUpdateWidgetsIfNecessary(); | 712 void scheduleUpdateWidgetsIfNecessary(); |
| 713 void updateWidgetsTimerFired(Timer<FrameView>*); | 713 void updateWidgetsTimerFired(Timer<FrameView>*); |
| 714 bool updateWidgets(); | 714 bool updateWidgets(); |
| 715 | 715 |
| 716 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior); | 716 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior); |
| 717 void setFragmentAnchor(Node*); | 717 void setFragmentAnchor(Node*); |
| 718 void scrollToFragmentAnchor(); | 718 void scrollToFragmentAnchor(); |
| 719 void didScrollTimerFired(Timer<FrameView>*); | 719 void didScrollTimerFired(Timer<FrameView>*); |
| 720 | 720 |
| 721 void updateLayersAndCompositingAfterScrollIfNeeded(); | 721 void updateLayersAndCompositingAfterScrollIfNeeded(const DoubleSize& scrollD
elta); |
| 722 | 722 |
| 723 static bool computeCompositedSelection(LocalFrame&, CompositedSelection&); | 723 static bool computeCompositedSelection(LocalFrame&, CompositedSelection&); |
| 724 void updateCompositedSelectionIfNeeded(); | 724 void updateCompositedSelectionIfNeeded(); |
| 725 | 725 |
| 726 // Returns true if the FrameView's own scrollbars overlay its content when v
isible. | 726 // Returns true if the FrameView's own scrollbars overlay its content when v
isible. |
| 727 bool hasOverlayScrollbars() const; | 727 bool hasOverlayScrollbars() const; |
| 728 | 728 |
| 729 // Returns true if the frame should use custom scrollbars. If true, one of | 729 // Returns true if the frame should use custom scrollbars. If true, one of |
| 730 // either |customScrollbarElement| or |customScrollbarFrame| will be set to | 730 // either |customScrollbarElement| or |customScrollbarFrame| will be set to |
| 731 // the element or frame which owns the scrollbar with the other set to null. | 731 // the element or frame which owns the scrollbar with the other set to null. |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 941 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 942 setIsVisuallyNonEmpty(); | 942 setIsVisuallyNonEmpty(); |
| 943 } | 943 } |
| 944 | 944 |
| 945 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 945 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 946 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); | 946 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); |
| 947 | 947 |
| 948 } // namespace blink | 948 } // namespace blink |
| 949 | 949 |
| 950 #endif // FrameView_h | 950 #endif // FrameView_h |
| OLD | NEW |