| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2011 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008, 2011 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 115 |
| 116 void finishCurrentScrollAnimations() const; | 116 void finishCurrentScrollAnimations() const; |
| 117 | 117 |
| 118 virtual void didAddScrollbar(Scrollbar&, ScrollbarOrientation); | 118 virtual void didAddScrollbar(Scrollbar&, ScrollbarOrientation); |
| 119 virtual void willRemoveScrollbar(Scrollbar&, ScrollbarOrientation); | 119 virtual void willRemoveScrollbar(Scrollbar&, ScrollbarOrientation); |
| 120 | 120 |
| 121 virtual void contentsResized(); | 121 virtual void contentsResized(); |
| 122 | 122 |
| 123 bool hasOverlayScrollbars() const; | 123 bool hasOverlayScrollbars() const; |
| 124 void setScrollbarOverlayStyle(ScrollbarOverlayStyle); | 124 void setScrollbarOverlayStyle(ScrollbarOverlayStyle); |
| 125 ScrollbarOverlayStyle scrollbarOverlayStyle() const { return static_cast<Scr
ollbarOverlayStyle>(m_scrollbarOverlayStyle); } | 125 ScrollbarOverlayStyle getScrollbarOverlayStyle() const { return static_cast<
ScrollbarOverlayStyle>(m_scrollbarOverlayStyle); } |
| 126 | 126 |
| 127 // This getter will create a ScrollAnimatorBase if it doesn't already exist. | 127 // This getter will create a ScrollAnimatorBase if it doesn't already exist. |
| 128 ScrollAnimatorBase& scrollAnimator() const; | 128 ScrollAnimatorBase& scrollAnimator() const; |
| 129 | 129 |
| 130 // This getter will return null if the ScrollAnimatorBase hasn't been create
d yet. | 130 // This getter will return null if the ScrollAnimatorBase hasn't been create
d yet. |
| 131 ScrollAnimatorBase* existingScrollAnimator() const { return m_scrollAnimator
.get(); } | 131 ScrollAnimatorBase* existingScrollAnimator() const { return m_scrollAnimator
.get(); } |
| 132 | 132 |
| 133 ProgrammaticScrollAnimator& programmaticScrollAnimator() const; | 133 ProgrammaticScrollAnimator& programmaticScrollAnimator() const; |
| 134 ProgrammaticScrollAnimator* existingProgrammaticScrollAnimator() const { ret
urn m_programmaticScrollAnimator.get(); } | 134 ProgrammaticScrollAnimator* existingProgrammaticScrollAnimator() const { ret
urn m_programmaticScrollAnimator.get(); } |
| 135 | 135 |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 // vertical-lr / ltr NO NO | 358 // vertical-lr / ltr NO NO |
| 359 // vertical-lr / rtl NO YES | 359 // vertical-lr / rtl NO YES |
| 360 // vertical-rl / ltr YES NO | 360 // vertical-rl / ltr YES NO |
| 361 // vertical-rl / rtl YES YES | 361 // vertical-rl / rtl YES YES |
| 362 IntPoint m_scrollOrigin; | 362 IntPoint m_scrollOrigin; |
| 363 }; | 363 }; |
| 364 | 364 |
| 365 } // namespace blink | 365 } // namespace blink |
| 366 | 366 |
| 367 #endif // ScrollableArea_h | 367 #endif // ScrollableArea_h |
| OLD | NEW |