OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 const IntRect& hitTestRect, const IntPoint& hitTestP
oint, | 511 const IntRect& hitTestRect, const IntPoint& hitTestP
oint, |
512 const HitTestingTransformState* containerTransformSt
ate) const; | 512 const HitTestingTransformState* containerTransformSt
ate) const; |
513 | 513 |
514 bool hitTestContents(const HitTestRequest&, HitTestResult&, const IntRect& l
ayerBounds, const IntPoint& hitTestPoint, HitTestFilter) const; | 514 bool hitTestContents(const HitTestRequest&, HitTestResult&, const IntRect& l
ayerBounds, const IntPoint& hitTestPoint, HitTestFilter) const; |
515 | 515 |
516 void computeScrollDimensions(bool* needHBar = 0, bool* needVBar = 0); | 516 void computeScrollDimensions(bool* needHBar = 0, bool* needVBar = 0); |
517 | 517 |
518 bool shouldBeNormalFlowOnly() const; | 518 bool shouldBeNormalFlowOnly() const; |
519 | 519 |
520 // ScrollBarClient interface | 520 // ScrollBarClient interface |
| 521 virtual int scrollSize(ScrollbarOrientation orientation) const; |
| 522 virtual void setScrollOffsetFromAnimation(const IntPoint&); |
521 virtual void valueChanged(Scrollbar*); | 523 virtual void valueChanged(Scrollbar*); |
522 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); | 524 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); |
523 virtual bool isActive() const; | 525 virtual bool isActive() const; |
524 virtual bool scrollbarCornerPresent() const; | 526 virtual bool scrollbarCornerPresent() const; |
525 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const
IntRect&) const; | 527 virtual IntRect convertFromScrollbarToContainingView(const Scrollbar*, const
IntRect&) const; |
526 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const
IntRect&) const; | 528 virtual IntRect convertFromContainingViewToScrollbar(const Scrollbar*, const
IntRect&) const; |
527 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons
t IntPoint&) const; | 529 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar*, cons
t IntPoint&) const; |
528 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons
t IntPoint&) const; | 530 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar*, cons
t IntPoint&) const; |
529 | 531 |
530 IntSize scrollbarOffset(const Scrollbar*) const; | 532 IntSize scrollbarOffset(const Scrollbar*) const; |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 }; | 695 }; |
694 | 696 |
695 } // namespace WebCore | 697 } // namespace WebCore |
696 | 698 |
697 #ifndef NDEBUG | 699 #ifndef NDEBUG |
698 // Outside the WebCore namespace for ease of invocation from gdb. | 700 // Outside the WebCore namespace for ease of invocation from gdb. |
699 void showLayerTree(const WebCore::RenderLayer* layer); | 701 void showLayerTree(const WebCore::RenderLayer* layer); |
700 #endif | 702 #endif |
701 | 703 |
702 #endif // RenderLayer_h | 704 #endif // RenderLayer_h |
OLD | NEW |