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

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

Issue 2194363003: Test https://codereview.chromium.org/2200003002 Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/PRESUBMIT.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 #include "platform/scroll/ScrollAnimatorBase.h" 112 #include "platform/scroll/ScrollAnimatorBase.h"
113 #include "platform/scroll/ScrollbarTheme.h" 113 #include "platform/scroll/ScrollbarTheme.h"
114 #include "platform/text/TextStream.h" 114 #include "platform/text/TextStream.h"
115 #include "public/platform/WebDisplayItemList.h" 115 #include "public/platform/WebDisplayItemList.h"
116 #include "public/platform/WebFrameScheduler.h" 116 #include "public/platform/WebFrameScheduler.h"
117 #include "wtf/CurrentTime.h" 117 #include "wtf/CurrentTime.h"
118 #include "wtf/PtrUtil.h" 118 #include "wtf/PtrUtil.h"
119 #include "wtf/StdLibExtras.h" 119 #include "wtf/StdLibExtras.h"
120 #include <memory> 120 #include <memory>
121 121
122 // Whitespace change should not trigger PRESUBMIT.py extra trybots.
123
122 namespace blink { 124 namespace blink {
123 125
124 using namespace HTMLNames; 126 using namespace HTMLNames;
125 127
126 // The maximum number of updateWidgets iterations that should be done before ret urning. 128 // The maximum number of updateWidgets iterations that should be done before ret urning.
127 static const unsigned maxUpdateWidgetsIterations = 2; 129 static const unsigned maxUpdateWidgetsIterations = 2;
128 static const double resourcePriorityUpdateDelayAfterScroll = 0.250; 130 static const double resourcePriorityUpdateDelayAfterScroll = 0.250;
129 131
130 static bool s_initialTrackAllPaintInvalidations = false; 132 static bool s_initialTrackAllPaintInvalidations = false;
131 133
(...skipping 4144 matching lines...) Expand 10 before | Expand all | Expand 10 after
4276 } 4278 }
4277 4279
4278 bool FrameView::canThrottleRendering() const 4280 bool FrameView::canThrottleRendering() const
4279 { 4281 {
4280 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) 4282 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled())
4281 return false; 4283 return false;
4282 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling); 4284 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot tling);
4283 } 4285 }
4284 4286
4285 } // namespace blink 4287 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/PRESUBMIT.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698