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

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

Issue 2723993002: Rename platform/Widget to platform/FrameViewBase in core. (Closed)
Patch Set: Created 3 years, 9 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 "core/frame/RootFrameViewport.h" 5 #include "core/frame/RootFrameViewport.h"
6 6
7 #include "core/frame/FrameView.h" 7 #include "core/frame/FrameView.h"
8 #include "core/layout/ScrollAlignment.h" 8 #include "core/layout/ScrollAlignment.h"
9 #include "core/layout/ScrollAnchor.h" 9 #include "core/layout/ScrollAnchor.h"
10 #include "platform/geometry/DoubleRect.h" 10 #include "platform/geometry/DoubleRect.h"
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 layoutViewport().updateCompositorScrollAnimations(); 441 layoutViewport().updateCompositorScrollAnimations();
442 visualViewport().updateCompositorScrollAnimations(); 442 visualViewport().updateCompositorScrollAnimations();
443 } 443 }
444 444
445 void RootFrameViewport::cancelProgrammaticScrollAnimation() { 445 void RootFrameViewport::cancelProgrammaticScrollAnimation() {
446 ScrollableArea::cancelProgrammaticScrollAnimation(); 446 ScrollableArea::cancelProgrammaticScrollAnimation();
447 layoutViewport().cancelProgrammaticScrollAnimation(); 447 layoutViewport().cancelProgrammaticScrollAnimation();
448 visualViewport().cancelProgrammaticScrollAnimation(); 448 visualViewport().cancelProgrammaticScrollAnimation();
449 } 449 }
450 450
451 Widget* RootFrameViewport::getWidget() { 451 FrameViewBase* RootFrameViewport::getWidget() {
452 return visualViewport().getWidget(); 452 return visualViewport().getWidget();
453 } 453 }
454 454
455 void RootFrameViewport::clearScrollableArea() { 455 void RootFrameViewport::clearScrollableArea() {
456 ScrollableArea::clearScrollableArea(); 456 ScrollableArea::clearScrollableArea();
457 layoutViewport().clearScrollableArea(); 457 layoutViewport().clearScrollableArea();
458 visualViewport().clearScrollableArea(); 458 visualViewport().clearScrollableArea();
459 } 459 }
460 460
461 DEFINE_TRACE(RootFrameViewport) { 461 DEFINE_TRACE(RootFrameViewport) {
462 visitor->trace(m_visualViewport); 462 visitor->trace(m_visualViewport);
463 visitor->trace(m_layoutViewport); 463 visitor->trace(m_layoutViewport);
464 ScrollableArea::trace(visitor); 464 ScrollableArea::trace(visitor);
465 } 465 }
466 466
467 } // namespace blink 467 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RootFrameViewport.h ('k') | third_party/WebKit/Source/core/frame/VisualViewport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698