| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010, Google Inc. All rights reserved. | 2 * Copyright (c) 2010, Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 FloatPoint currentPosition() const; | 70 FloatPoint currentPosition() const; |
| 71 | 71 |
| 72 virtual void cancelAnimations() { } | 72 virtual void cancelAnimations() { } |
| 73 virtual void serviceScrollAnimations() { } | 73 virtual void serviceScrollAnimations() { } |
| 74 | 74 |
| 75 virtual void mouseEnteredContentArea() const { } | 75 virtual void mouseEnteredContentArea() const { } |
| 76 virtual void mouseExitedContentArea() const { } | 76 virtual void mouseExitedContentArea() const { } |
| 77 virtual void mouseMovedInContentArea() const { } | 77 virtual void mouseMovedInContentArea() const { } |
| 78 virtual void mouseEnteredScrollbar(Scrollbar*) const { } | 78 virtual void mouseEnteredScrollbar(Scrollbar*) const { } |
| 79 virtual void mouseExitedScrollbar(Scrollbar*) const { } | 79 virtual void mouseExitedScrollbar(Scrollbar*) const { } |
| 80 virtual void willStartLiveResize() { } | |
| 81 virtual void contentsResized() const { } | 80 virtual void contentsResized() const { } |
| 82 virtual void willEndLiveResize() { } | 81 |
| 83 virtual void contentAreaDidShow() const { } | 82 virtual void contentAreaDidShow() const { } |
| 84 virtual void contentAreaDidHide() const { } | 83 virtual void contentAreaDidHide() const { } |
| 85 | 84 |
| 86 virtual void finishCurrentScrollAnimations() { } | 85 virtual void finishCurrentScrollAnimations() { } |
| 87 | 86 |
| 88 virtual void didAddVerticalScrollbar(Scrollbar*) { } | 87 virtual void didAddVerticalScrollbar(Scrollbar*) { } |
| 89 virtual void willRemoveVerticalScrollbar(Scrollbar*) { } | 88 virtual void willRemoveVerticalScrollbar(Scrollbar*) { } |
| 90 virtual void didAddHorizontalScrollbar(Scrollbar*) { } | 89 virtual void didAddHorizontalScrollbar(Scrollbar*) { } |
| 91 virtual void willRemoveHorizontalScrollbar(Scrollbar*) { } | 90 virtual void willRemoveHorizontalScrollbar(Scrollbar*) { } |
| 92 | 91 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 103 float m_currentPosX; // We avoid using a FloatPoint in order to reduce | 102 float m_currentPosX; // We avoid using a FloatPoint in order to reduce |
| 104 float m_currentPosY; // subclass code complexity. | 103 float m_currentPosY; // subclass code complexity. |
| 105 | 104 |
| 106 private: | 105 private: |
| 107 float clampScrollPosition(ScrollbarOrientation, float); | 106 float clampScrollPosition(ScrollbarOrientation, float); |
| 108 }; | 107 }; |
| 109 | 108 |
| 110 } // namespace blink | 109 } // namespace blink |
| 111 | 110 |
| 112 #endif // SKY_ENGINE_PLATFORM_SCROLL_SCROLLANIMATOR_H_ | 111 #endif // SKY_ENGINE_PLATFORM_SCROLL_SCROLLANIMATOR_H_ |
| OLD | NEW |