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