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 | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
8 reserved. | 8 reserved. |
9 | 9 |
10 This library is free software; you can redistribute it and/or | 10 This library is free software; you can redistribute it and/or |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 kScrollable, | 354 kScrollable, |
355 kNotScrollableNoOverflow, | 355 kNotScrollableNoOverflow, |
356 kNotScrollableNotVisible, | 356 kNotScrollableNotVisible, |
357 kNotScrollableExplicitlyDisabled | 357 kNotScrollableExplicitlyDisabled |
358 }; | 358 }; |
359 | 359 |
360 ScrollingReasons GetScrollingReasons() const; | 360 ScrollingReasons GetScrollingReasons() const; |
361 bool IsScrollable() const override; | 361 bool IsScrollable() const override; |
362 bool IsProgrammaticallyScrollable() override; | 362 bool IsProgrammaticallyScrollable() override; |
363 | 363 |
364 enum ScrollbarModesCalculationStrategy { kRulesFromWebContentOnly, kAnyRule }; | 364 void CalculateScrollbarModes(ScrollbarMode& h_mode, |
365 void CalculateScrollbarModes( | 365 ScrollbarMode& v_mode) const; |
366 ScrollbarMode& h_mode, | |
367 ScrollbarMode& v_mode, | |
368 ScrollbarModesCalculationStrategy = kAnyRule) const; | |
369 | 366 |
370 IntPoint LastKnownMousePosition() const override; | 367 IntPoint LastKnownMousePosition() const override; |
371 bool ShouldSetCursor() const; | 368 bool ShouldSetCursor() const; |
372 | 369 |
373 void SetCursor(const Cursor&); | 370 void SetCursor(const Cursor&); |
374 | 371 |
375 bool ScrollbarsCanBeActive() const override; | 372 bool ScrollbarsCanBeActive() const override; |
376 void ScrollbarVisibilityChanged() override; | 373 void ScrollbarVisibilityChanged() override; |
377 void ScrollbarFrameRectChanged() override; | 374 void ScrollbarFrameRectChanged() override; |
378 | 375 |
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1272 frame_or_plugin.IsFrameView()); | 1269 frame_or_plugin.IsFrameView()); |
1273 DEFINE_TYPE_CASTS(FrameView, | 1270 DEFINE_TYPE_CASTS(FrameView, |
1274 ScrollableArea, | 1271 ScrollableArea, |
1275 scrollableArea, | 1272 scrollableArea, |
1276 scrollableArea->IsFrameView(), | 1273 scrollableArea->IsFrameView(), |
1277 scrollableArea.IsFrameView()); | 1274 scrollableArea.IsFrameView()); |
1278 | 1275 |
1279 } // namespace blink | 1276 } // namespace blink |
1280 | 1277 |
1281 #endif // FrameView_h | 1278 #endif // FrameView_h |
OLD | NEW |