| 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 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 void scheduleUpdateWidgetsIfNecessary(); | 660 void scheduleUpdateWidgetsIfNecessary(); |
| 661 void updateWidgetsTimerFired(Timer<FrameView>*); | 661 void updateWidgetsTimerFired(Timer<FrameView>*); |
| 662 bool updateWidgets(); | 662 bool updateWidgets(); |
| 663 | 663 |
| 664 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior); | 664 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior); |
| 665 void maintainScrollPositionAtAnchor(Node*); | 665 void maintainScrollPositionAtAnchor(Node*); |
| 666 void scrollToAnchor(); | 666 void scrollToAnchor(); |
| 667 void scrollPositionChanged(); | 667 void scrollPositionChanged(); |
| 668 void didScrollTimerFired(Timer<FrameView>*); | 668 void didScrollTimerFired(Timer<FrameView>*); |
| 669 | 669 |
| 670 void updateLayersAndCompositingAfterScrollIfNeeded(); | 670 void updateLayersAndCompositingAfterScrollIfNeeded(const DoubleSize& scrollD
elta); |
| 671 | 671 |
| 672 static bool computeCompositedSelection(LocalFrame&, CompositedSelection&); | 672 static bool computeCompositedSelection(LocalFrame&, CompositedSelection&); |
| 673 void updateCompositedSelectionIfNeeded(); | 673 void updateCompositedSelectionIfNeeded(); |
| 674 | 674 |
| 675 // Returns true if the FrameView's own scrollbars overlay its content when v
isible. | 675 // Returns true if the FrameView's own scrollbars overlay its content when v
isible. |
| 676 bool hasOverlayScrollbars() const; | 676 bool hasOverlayScrollbars() const; |
| 677 | 677 |
| 678 // Returns true if the frame should use custom scrollbars. If true, one of | 678 // Returns true if the frame should use custom scrollbars. If true, one of |
| 679 // either |customScrollbarElement| or |customScrollbarFrame| will be set to | 679 // either |customScrollbarElement| or |customScrollbarFrame| will be set to |
| 680 // the element or frame which owns the scrollbar with the other set to null. | 680 // the element or frame which owns the scrollbar with the other set to null. |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 858 static const unsigned visualPixelThreshold = 32 * 32; | 858 static const unsigned visualPixelThreshold = 32 * 32; |
| 859 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 859 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 860 setIsVisuallyNonEmpty(); | 860 setIsVisuallyNonEmpty(); |
| 861 } | 861 } |
| 862 | 862 |
| 863 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 863 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 864 | 864 |
| 865 } // namespace blink | 865 } // namespace blink |
| 866 | 866 |
| 867 #endif // FrameView_h | 867 #endif // FrameView_h |
| OLD | NEW |