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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 void scrollContentsIfNeededRecursive(); | 239 void scrollContentsIfNeededRecursive(); |
240 | 240 |
241 // Methods to convert points and rects between the coordinate space of the r
enderer, and this view. | 241 // Methods to convert points and rects between the coordinate space of the r
enderer, and this view. |
242 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const; | 242 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const; |
243 IntRect convertToRenderer(const RenderObject&, const IntRect&) const; | 243 IntRect convertToRenderer(const RenderObject&, const IntRect&) const; |
244 IntPoint convertFromRenderer(const RenderObject&, const IntPoint&) const; | 244 IntPoint convertFromRenderer(const RenderObject&, const IntPoint&) const; |
245 IntPoint convertToRenderer(const RenderObject&, const IntPoint&) const; | 245 IntPoint convertToRenderer(const RenderObject&, const IntPoint&) const; |
246 | 246 |
247 bool isFrameViewScrollCorner(RenderScrollbarPart* scrollCorner) const { retu
rn m_scrollCorner == scrollCorner; } | 247 bool isFrameViewScrollCorner(RenderScrollbarPart* scrollCorner) const { retu
rn m_scrollCorner == scrollCorner; } |
248 | 248 |
| 249 enum ScrollingReasons { |
| 250 Scrollable, |
| 251 NotScrollableNoOverflow, |
| 252 NotScrollableNotVisible, |
| 253 NotScrollableExplicitlyDisabled |
| 254 }; |
| 255 |
| 256 ScrollingReasons scrollingReasons(); |
249 bool isScrollable(); | 257 bool isScrollable(); |
250 | 258 |
251 enum ScrollbarModesCalculationStrategy { RulesFromWebContentOnly, AnyRule }; | 259 enum ScrollbarModesCalculationStrategy { RulesFromWebContentOnly, AnyRule }; |
252 void calculateScrollbarModesForLayoutAndSetViewportRenderer(ScrollbarMode& h
Mode, ScrollbarMode& vMode, ScrollbarModesCalculationStrategy = AnyRule); | 260 void calculateScrollbarModesForLayoutAndSetViewportRenderer(ScrollbarMode& h
Mode, ScrollbarMode& vMode, ScrollbarModesCalculationStrategy = AnyRule); |
253 | 261 |
254 virtual IntPoint lastKnownMousePosition() const override; | 262 virtual IntPoint lastKnownMousePosition() const override; |
255 bool shouldSetCursor() const; | 263 bool shouldSetCursor() const; |
256 | 264 |
257 void setCursor(const Cursor&); | 265 void setCursor(const Cursor&); |
258 | 266 |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
827 } | 835 } |
828 | 836 |
829 private: | 837 private: |
830 RawPtrWillBeMember<FrameView> m_view; | 838 RawPtrWillBeMember<FrameView> m_view; |
831 bool m_originalValue; | 839 bool m_originalValue; |
832 }; | 840 }; |
833 | 841 |
834 } // namespace blink | 842 } // namespace blink |
835 | 843 |
836 #endif // FrameView_h | 844 #endif // FrameView_h |
OLD | NEW |