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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 void setVisibleContentScaleFactor(float); | 156 void setVisibleContentScaleFactor(float); |
157 | 157 |
158 // Scale used to convert incoming input events. Usually the same as visibleC
ontentScaleFactor(), unless specifically changed. | 158 // Scale used to convert incoming input events. Usually the same as visibleC
ontentScaleFactor(), unless specifically changed. |
159 float inputEventsScaleFactor() const; | 159 float inputEventsScaleFactor() const; |
160 // Offset used to convert incoming input events while emulating device metic
s. | 160 // Offset used to convert incoming input events while emulating device metic
s. |
161 IntSize inputEventsOffsetForEmulation() const; | 161 IntSize inputEventsOffsetForEmulation() const; |
162 void setInputEventsTransformForEmulation(const IntSize&, float); | 162 void setInputEventsTransformForEmulation(const IntSize&, float); |
163 | 163 |
164 void setScrollPosition(const DoublePoint&, ScrollBehavior = ScrollBehaviorIn
stant); | 164 void setScrollPosition(const DoublePoint&, ScrollBehavior = ScrollBehaviorIn
stant); |
165 virtual bool isRubberBandInProgress() const override; | 165 virtual bool isRubberBandInProgress() const override; |
| 166 virtual bool rubberBandingOnCompositorThread() const override; |
166 void setScrollPositionNonProgrammatically(const IntPoint&); | 167 void setScrollPositionNonProgrammatically(const IntPoint&); |
167 | 168 |
168 // This is different than visibleContentRect() in that it ignores negative (
or overly positive) | 169 // This is different than visibleContentRect() in that it ignores negative (
or overly positive) |
169 // offsets from rubber-banding, and it takes zooming into account. | 170 // offsets from rubber-banding, and it takes zooming into account. |
170 LayoutRect viewportConstrainedVisibleContentRect() const; | 171 LayoutRect viewportConstrainedVisibleContentRect() const; |
171 void viewportConstrainedVisibleContentSizeChanged(bool widthChanged, bool he
ightChanged); | 172 void viewportConstrainedVisibleContentSizeChanged(bool widthChanged, bool he
ightChanged); |
172 | 173 |
173 AtomicString mediaType() const; | 174 AtomicString mediaType() const; |
174 void setMediaType(const AtomicString&); | 175 void setMediaType(const AtomicString&); |
175 void adjustMediaTypeForPrinting(bool printing); | 176 void adjustMediaTypeForPrinting(bool printing); |
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 } | 838 } |
838 | 839 |
839 private: | 840 private: |
840 RawPtrWillBeMember<FrameView> m_view; | 841 RawPtrWillBeMember<FrameView> m_view; |
841 bool m_originalValue; | 842 bool m_originalValue; |
842 }; | 843 }; |
843 | 844 |
844 } // namespace blink | 845 } // namespace blink |
845 | 846 |
846 #endif // FrameView_h | 847 #endif // FrameView_h |
OLD | NEW |