| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010, Google Inc. All rights reserved. | 2 * Copyright (c) 2010, Google Inc. All rights reserved. |
| 3 * Copyright (C) 2008, 2011 Apple Inc. All Rights Reserved. | 3 * Copyright (C) 2008, 2011 Apple Inc. All Rights Reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 267 |
| 268 void ScrollableArea::willEndLiveResize() | 268 void ScrollableArea::willEndLiveResize() |
| 269 { | 269 { |
| 270 if (!m_inLiveResize) | 270 if (!m_inLiveResize) |
| 271 return; | 271 return; |
| 272 m_inLiveResize = false; | 272 m_inLiveResize = false; |
| 273 if (ScrollAnimator* scrollAnimator = existingScrollAnimator()) | 273 if (ScrollAnimator* scrollAnimator = existingScrollAnimator()) |
| 274 scrollAnimator->willEndLiveResize(); | 274 scrollAnimator->willEndLiveResize(); |
| 275 } | 275 } |
| 276 | 276 |
| 277 void ScrollableArea::contentAreaWillPaint() const | |
| 278 { | |
| 279 if (ScrollAnimator* scrollAnimator = existingScrollAnimator()) | |
| 280 scrollAnimator->contentAreaWillPaint(); | |
| 281 } | |
| 282 | |
| 283 void ScrollableArea::mouseEnteredContentArea() const | 277 void ScrollableArea::mouseEnteredContentArea() const |
| 284 { | 278 { |
| 285 if (ScrollAnimator* scrollAnimator = existingScrollAnimator()) | 279 if (ScrollAnimator* scrollAnimator = existingScrollAnimator()) |
| 286 scrollAnimator->mouseEnteredContentArea(); | 280 scrollAnimator->mouseEnteredContentArea(); |
| 287 } | 281 } |
| 288 | 282 |
| 289 void ScrollableArea::mouseExitedContentArea() const | 283 void ScrollableArea::mouseExitedContentArea() const |
| 290 { | 284 { |
| 291 if (ScrollAnimator* scrollAnimator = existingScrollAnimator()) | 285 if (ScrollAnimator* scrollAnimator = existingScrollAnimator()) |
| 292 scrollAnimator->mouseEnteredContentArea(); | 286 scrollAnimator->mouseEnteredContentArea(); |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 { | 475 { |
| 482 return scrollSize(orientation); | 476 return scrollSize(orientation); |
| 483 } | 477 } |
| 484 | 478 |
| 485 float ScrollableArea::pixelStep(ScrollbarOrientation) const | 479 float ScrollableArea::pixelStep(ScrollbarOrientation) const |
| 486 { | 480 { |
| 487 return 1; | 481 return 1; |
| 488 } | 482 } |
| 489 | 483 |
| 490 } // namespace blink | 484 } // namespace blink |
| OLD | NEW |