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

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

Issue 2584343002: WIP: working copy-no-compositor path
Patch Set: StatTracker destructor, delete old magic numbers, mojo export Created 3 years, 11 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 2911 matching lines...) Expand 10 before | Expand all | Expand 10 after
2922 DCHECK(RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() || 2922 DCHECK(RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() ||
2923 lifecycle().state() >= DocumentLifecycle::CompositingClean); 2923 lifecycle().state() >= DocumentLifecycle::CompositingClean);
2924 2924
2925 m_frame->host()->globalRootScrollerController().didUpdateCompositing(); 2925 m_frame->host()->globalRootScrollerController().didUpdateCompositing();
2926 2926
2927 if (targetState >= DocumentLifecycle::PrePaintClean) { 2927 if (targetState >= DocumentLifecycle::PrePaintClean) {
2928 if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) 2928 if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
2929 invalidateTreeIfNeededRecursive(); 2929 invalidateTreeIfNeededRecursive();
2930 2930
2931 if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { 2931 if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
2932 if (view.compositor()->inCompositingMode()) 2932 if (view.compositor()->inCompositingMode() && isSelfVisible())
2933 scrollingCoordinator()->updateAfterCompositingChangeIfNeeded(); 2933 scrollingCoordinator()->updateAfterCompositingChangeIfNeeded();
2934 } 2934 }
2935 2935
2936 updateCompositedSelectionIfNeeded(); 2936 updateCompositedSelectionIfNeeded();
2937 } 2937 }
2938 } 2938 }
2939 2939
2940 if (targetState >= DocumentLifecycle::PrePaintClean) { 2940 if (targetState >= DocumentLifecycle::PrePaintClean) {
2941 updatePaintProperties(); 2941 updatePaintProperties();
2942 } 2942 }
(...skipping 1959 matching lines...) Expand 10 before | Expand all | Expand 10 after
4902 reason < MainThreadScrollingReason::kMainThreadScrollingReasonCount; 4902 reason < MainThreadScrollingReason::kMainThreadScrollingReasonCount;
4903 ++reason) { 4903 ++reason) {
4904 if (m_mainThreadScrollingReasonsCounter[reason] > 0) { 4904 if (m_mainThreadScrollingReasonsCounter[reason] > 0) {
4905 reasons |= 1 << (reason - 1); 4905 reasons |= 1 << (reason - 1);
4906 } 4906 }
4907 } 4907 }
4908 return reasons; 4908 return reasons;
4909 } 4909 }
4910 4910
4911 } // namespace blink 4911 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698