| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 | 212 |
| 213 // Let subclasses provide a way of asking for and servicing scroll | 213 // Let subclasses provide a way of asking for and servicing scroll |
| 214 // animations. | 214 // animations. |
| 215 virtual bool scheduleAnimation(); | 215 virtual bool scheduleAnimation(); |
| 216 virtual void serviceScrollAnimations(double monotonicTime); | 216 virtual void serviceScrollAnimations(double monotonicTime); |
| 217 virtual void updateCompositorScrollAnimations(); | 217 virtual void updateCompositorScrollAnimations(); |
| 218 virtual void registerForAnimation() { } | 218 virtual void registerForAnimation() { } |
| 219 virtual void deregisterForAnimation() { } | 219 virtual void deregisterForAnimation() { } |
| 220 | 220 |
| 221 void notifyCompositorAnimationFinished(int groupId); | 221 void notifyCompositorAnimationFinished(int groupId); |
| 222 void notifyCompositorAnimationAborted(int groupId); |
| 222 | 223 |
| 223 virtual bool usesCompositedScrolling() const { return false; } | 224 virtual bool usesCompositedScrolling() const { return false; } |
| 224 | 225 |
| 225 // Returns true if the GraphicsLayer tree needs to be rebuilt. | 226 // Returns true if the GraphicsLayer tree needs to be rebuilt. |
| 226 virtual bool updateAfterCompositingChange() { return false; } | 227 virtual bool updateAfterCompositingChange() { return false; } |
| 227 | 228 |
| 228 virtual bool userInputScrollable(ScrollbarOrientation) const = 0; | 229 virtual bool userInputScrollable(ScrollbarOrientation) const = 0; |
| 229 virtual bool shouldPlaceVerticalScrollbarOnLeft() const = 0; | 230 virtual bool shouldPlaceVerticalScrollbarOnLeft() const = 0; |
| 230 | 231 |
| 231 // Convenience functions | 232 // Convenience functions |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 // vertical-lr / ltr NO NO | 354 // vertical-lr / ltr NO NO |
| 354 // vertical-lr / rtl NO YES | 355 // vertical-lr / rtl NO YES |
| 355 // vertical-rl / ltr YES NO | 356 // vertical-rl / ltr YES NO |
| 356 // vertical-rl / rtl YES YES | 357 // vertical-rl / rtl YES YES |
| 357 IntPoint m_scrollOrigin; | 358 IntPoint m_scrollOrigin; |
| 358 }; | 359 }; |
| 359 | 360 |
| 360 } // namespace blink | 361 } // namespace blink |
| 361 | 362 |
| 362 #endif // ScrollableArea_h | 363 #endif // ScrollableArea_h |
| OLD | NEW |