| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 #include "core/frame/RootFrameViewport.h" | 6 #include "core/frame/RootFrameViewport.h" |
| 7 | 7 |
| 8 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
| 9 #include "core/layout/ScrollAlignment.h" | 9 #include "core/layout/ScrollAlignment.h" |
| 10 #include "platform/geometry/DoubleRect.h" | 10 #include "platform/geometry/DoubleRect.h" |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 { | 308 { |
| 309 return layoutViewport().hostWindow(); | 309 return layoutViewport().hostWindow(); |
| 310 } | 310 } |
| 311 | 311 |
| 312 void RootFrameViewport::serviceScrollAnimations(double monotonicTime) | 312 void RootFrameViewport::serviceScrollAnimations(double monotonicTime) |
| 313 { | 313 { |
| 314 ScrollableArea::serviceScrollAnimations(monotonicTime); | 314 ScrollableArea::serviceScrollAnimations(monotonicTime); |
| 315 layoutViewport().serviceScrollAnimations(monotonicTime); | 315 layoutViewport().serviceScrollAnimations(monotonicTime); |
| 316 } | 316 } |
| 317 | 317 |
| 318 void RootFrameViewport::updateCompositorScrollAnimations() |
| 319 { |
| 320 ScrollableArea::updateCompositorScrollAnimations(); |
| 321 layoutViewport().updateCompositorScrollAnimations(); |
| 322 } |
| 323 |
| 324 |
| 318 } // namespace blink | 325 } // namespace blink |
| OLD | NEW |