| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 float inputEventsScaleFactor() const; | 160 float inputEventsScaleFactor() const; |
| 161 // Offset used to convert incoming input events while emulating device metic
s. | 161 // Offset used to convert incoming input events while emulating device metic
s. |
| 162 IntSize inputEventsOffsetForEmulation() const; | 162 IntSize inputEventsOffsetForEmulation() const; |
| 163 void setInputEventsTransformForEmulation(const IntSize&, float); | 163 void setInputEventsTransformForEmulation(const IntSize&, float); |
| 164 | 164 |
| 165 void setScrollPosition(const DoublePoint&, ScrollBehavior = ScrollBehaviorIn
stant); | 165 void setScrollPosition(const DoublePoint&, ScrollBehavior = ScrollBehaviorIn
stant); |
| 166 virtual bool isRubberBandInProgress() const override; | 166 virtual bool isRubberBandInProgress() const override; |
| 167 virtual bool rubberBandingOnCompositorThread() const override; | 167 virtual bool rubberBandingOnCompositorThread() const override; |
| 168 void setScrollPositionNonProgrammatically(const IntPoint&); | 168 void setScrollPositionNonProgrammatically(const IntPoint&); |
| 169 | 169 |
| 170 FloatSize elasticOverscroll() const { return m_elasticOverscroll; } |
| 171 void setElasticOverscroll(const FloatSize&); |
| 172 |
| 170 // This is different than visibleContentRect() in that it ignores negative (
or overly positive) | 173 // This is different than visibleContentRect() in that it ignores negative (
or overly positive) |
| 171 // offsets from rubber-banding, and it takes zooming into account. | 174 // offsets from rubber-banding, and it takes zooming into account. |
| 172 LayoutRect viewportConstrainedVisibleContentRect() const; | 175 LayoutRect viewportConstrainedVisibleContentRect() const; |
| 173 void viewportConstrainedVisibleContentSizeChanged(bool widthChanged, bool he
ightChanged); | 176 void viewportConstrainedVisibleContentSizeChanged(bool widthChanged, bool he
ightChanged); |
| 174 | 177 |
| 175 AtomicString mediaType() const; | 178 AtomicString mediaType() const; |
| 176 void setMediaType(const AtomicString&); | 179 void setMediaType(const AtomicString&); |
| 177 void adjustMediaTypeForPrinting(bool printing); | 180 void adjustMediaTypeForPrinting(bool printing); |
| 178 | 181 |
| 179 void addSlowRepaintObject(); | 182 void addSlowRepaintObject(); |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 794 ChildrenWidgetSet m_children; | 797 ChildrenWidgetSet m_children; |
| 795 | 798 |
| 796 DoubleSize m_pendingScrollDelta; | 799 DoubleSize m_pendingScrollDelta; |
| 797 DoublePoint m_scrollPosition; | 800 DoublePoint m_scrollPosition; |
| 798 DoublePoint m_cachedScrollPosition; | 801 DoublePoint m_cachedScrollPosition; |
| 799 IntSize m_contentsSize; | 802 IntSize m_contentsSize; |
| 800 | 803 |
| 801 int m_scrollbarsAvoidingResizer; | 804 int m_scrollbarsAvoidingResizer; |
| 802 bool m_scrollbarsSuppressed; | 805 bool m_scrollbarsSuppressed; |
| 803 | 806 |
| 807 FloatSize m_elasticOverscroll; |
| 808 |
| 804 bool m_inUpdateScrollbars; | 809 bool m_inUpdateScrollbars; |
| 805 | 810 |
| 806 IntPoint m_panScrollIconPoint; | 811 IntPoint m_panScrollIconPoint; |
| 807 bool m_shouldDrawPanScrollIcon; | 812 bool m_shouldDrawPanScrollIcon; |
| 808 | 813 |
| 809 bool m_clipsRepaints; | 814 bool m_clipsRepaints; |
| 810 }; | 815 }; |
| 811 | 816 |
| 812 inline void FrameView::incrementVisuallyNonEmptyCharacterCount(unsigned count) | 817 inline void FrameView::incrementVisuallyNonEmptyCharacterCount(unsigned count) |
| 813 { | 818 { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 856 } | 861 } |
| 857 | 862 |
| 858 private: | 863 private: |
| 859 RawPtrWillBeMember<FrameView> m_view; | 864 RawPtrWillBeMember<FrameView> m_view; |
| 860 bool m_originalValue; | 865 bool m_originalValue; |
| 861 }; | 866 }; |
| 862 | 867 |
| 863 } // namespace blink | 868 } // namespace blink |
| 864 | 869 |
| 865 #endif // FrameView_h | 870 #endif // FrameView_h |
| OLD | NEW |