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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 ScrollableArea::serviceScrollAnimations(monotonicTime); | 321 ScrollableArea::serviceScrollAnimations(monotonicTime); |
322 layoutViewport().serviceScrollAnimations(monotonicTime); | 322 layoutViewport().serviceScrollAnimations(monotonicTime); |
323 } | 323 } |
324 | 324 |
325 void RootFrameViewport::updateCompositorScrollAnimations() | 325 void RootFrameViewport::updateCompositorScrollAnimations() |
326 { | 326 { |
327 ScrollableArea::updateCompositorScrollAnimations(); | 327 ScrollableArea::updateCompositorScrollAnimations(); |
328 layoutViewport().updateCompositorScrollAnimations(); | 328 layoutViewport().updateCompositorScrollAnimations(); |
329 } | 329 } |
330 | 330 |
| 331 DEFINE_TRACE(RootFrameViewport) |
| 332 { |
| 333 visitor->trace(m_visualViewport); |
| 334 visitor->trace(m_layoutViewport); |
| 335 ScrollableArea::trace(visitor); |
| 336 } |
331 | 337 |
332 } // namespace blink | 338 } // namespace blink |
OLD | NEW |