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

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

Issue 2658953004: Rename EOverflowAnchor values with k prefix. (Closed)
Patch Set: Created 3 years, 10 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 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Dirk Mueller <mueller@kde.org> 5 * 2000 Dirk Mueller <mueller@kde.org>
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * Copyright (C) 2009 Google Inc. All rights reserved. 9 * Copyright (C) 2009 Google Inc. All rights reserved.
10 * 10 *
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 document->clearResizedForViewportUnits(); 995 document->clearResizedForViewportUnits();
996 996
997 if (shouldPerformScrollAnchoring()) 997 if (shouldPerformScrollAnchoring())
998 m_scrollAnchor.notifyBeforeLayout(); 998 m_scrollAnchor.notifyBeforeLayout();
999 } 999 }
1000 1000
1001 bool FrameView::shouldPerformScrollAnchoring() const { 1001 bool FrameView::shouldPerformScrollAnchoring() const {
1002 return RuntimeEnabledFeatures::scrollAnchoringEnabled() && 1002 return RuntimeEnabledFeatures::scrollAnchoringEnabled() &&
1003 !RuntimeEnabledFeatures::rootLayerScrollingEnabled() && 1003 !RuntimeEnabledFeatures::rootLayerScrollingEnabled() &&
1004 m_scrollAnchor.hasScroller() && 1004 m_scrollAnchor.hasScroller() &&
1005 layoutBox()->style()->overflowAnchor() != EOverflowAnchor::None && 1005 layoutBox()->style()->overflowAnchor() != EOverflowAnchor::kNone &&
1006 !m_frame->document()->finishingOrIsPrinting(); 1006 !m_frame->document()->finishingOrIsPrinting();
1007 } 1007 }
1008 1008
1009 static inline void layoutFromRootObject(LayoutObject& root) { 1009 static inline void layoutFromRootObject(LayoutObject& root) {
1010 LayoutState layoutState(root); 1010 LayoutState layoutState(root);
1011 root.layout(); 1011 root.layout();
1012 } 1012 }
1013 1013
1014 void FrameView::prepareLayoutAnalyzer() { 1014 void FrameView::prepareLayoutAnalyzer() {
1015 bool isTracing = false; 1015 bool isTracing = false;
(...skipping 4045 matching lines...) Expand 10 before | Expand all | Expand 10 after
5061 std::unique_ptr<CompositorAnimationTimeline> timeline) { 5061 std::unique_ptr<CompositorAnimationTimeline> timeline) {
5062 m_animationTimeline = std::move(timeline); 5062 m_animationTimeline = std::move(timeline);
5063 } 5063 }
5064 5064
5065 void FrameView::setAnimationHost( 5065 void FrameView::setAnimationHost(
5066 std::unique_ptr<CompositorAnimationHost> host) { 5066 std::unique_ptr<CompositorAnimationHost> host) {
5067 m_animationHost = std::move(host); 5067 m_animationHost = std::move(host);
5068 } 5068 }
5069 5069
5070 } // namespace blink 5070 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/layout/ScrollAnchor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698