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

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

Issue 1215973002: Oilpan: improve ScrollableArea handling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review-induced improvements Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/RootFrameViewport.h ('k') | Source/core/frame/RootFrameViewportTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « Source/core/frame/RootFrameViewport.h ('k') | Source/core/frame/RootFrameViewportTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698