Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: Source/core/frame/RootFrameViewport.cpp

Issue 1148283011: Update programmatic scrolls on the RootFrameViewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/core/frame/RootFrameViewport.h ('k') | Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698