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