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 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 void scheduleUpdateWidgetsIfNecessary(); | 681 void scheduleUpdateWidgetsIfNecessary(); |
682 void updateWidgetsTimerFired(Timer<FrameView>*); | 682 void updateWidgetsTimerFired(Timer<FrameView>*); |
683 bool updateWidgets(); | 683 bool updateWidgets(); |
684 | 684 |
685 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior); | 685 bool processUrlFragmentHelper(const String&, UrlFragmentBehavior); |
686 void maintainScrollPositionAtAnchor(Node*); | 686 void maintainScrollPositionAtAnchor(Node*); |
687 void scrollToAnchor(); | 687 void scrollToAnchor(); |
688 void scrollPositionChanged(); | 688 void scrollPositionChanged(); |
689 void didScrollTimerFired(Timer<FrameView>*); | 689 void didScrollTimerFired(Timer<FrameView>*); |
690 | 690 |
691 void updateLayersAndCompositingAfterScrollIfNeeded(); | 691 void updateLayersAndCompositingAfterScrollIfNeeded(const DoubleSize& scrollD
elta); |
692 | 692 |
693 static bool computeCompositedSelection(LocalFrame&, CompositedSelection&); | 693 static bool computeCompositedSelection(LocalFrame&, CompositedSelection&); |
694 void updateCompositedSelectionIfNeeded(); | 694 void updateCompositedSelectionIfNeeded(); |
695 | 695 |
696 // Returns true if the FrameView's own scrollbars overlay its content when v
isible. | 696 // Returns true if the FrameView's own scrollbars overlay its content when v
isible. |
697 bool hasOverlayScrollbars() const; | 697 bool hasOverlayScrollbars() const; |
698 | 698 |
699 // Returns true if the frame should use custom scrollbars. If true, one of | 699 // Returns true if the frame should use custom scrollbars. If true, one of |
700 // either |customScrollbarElement| or |customScrollbarFrame| will be set to | 700 // either |customScrollbarElement| or |customScrollbarFrame| will be set to |
701 // the element or frame which owns the scrollbar with the other set to null. | 701 // the element or frame which owns the scrollbar with the other set to null. |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 static const unsigned visualPixelThreshold = 32 * 32; | 904 static const unsigned visualPixelThreshold = 32 * 32; |
905 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 905 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
906 setIsVisuallyNonEmpty(); | 906 setIsVisuallyNonEmpty(); |
907 } | 907 } |
908 | 908 |
909 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 909 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
910 | 910 |
911 } // namespace blink | 911 } // namespace blink |
912 | 912 |
913 #endif // FrameView_h | 913 #endif // FrameView_h |
OLD | NEW |