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

Side by Side Diff: cc/trees/layer_tree_host.h

Issue 400533006: Revert "Implement scroll handler latency tracking" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « cc/base/swap_promise_monitor.h ('k') | cc/trees/layer_tree_host.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 #ifndef CC_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <list> 9 #include <list>
10 #include <set> 10 #include <set>
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 } 219 }
220 220
221 void SetVisible(bool visible); 221 void SetVisible(bool visible);
222 bool visible() const { return visible_; } 222 bool visible() const { return visible_; }
223 223
224 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, 224 void StartPageScaleAnimation(const gfx::Vector2d& target_offset,
225 bool use_anchor, 225 bool use_anchor,
226 float scale, 226 float scale,
227 base::TimeDelta duration); 227 base::TimeDelta duration);
228 228
229 void ApplyScrollAndScale(ScrollAndScaleSet* info); 229 void ApplyScrollAndScale(const ScrollAndScaleSet& info);
230 void SetImplTransform(const gfx::Transform& transform); 230 void SetImplTransform(const gfx::Transform& transform);
231 231
232 // Virtual for tests. 232 // Virtual for tests.
233 virtual void StartRateLimiter(); 233 virtual void StartRateLimiter();
234 virtual void StopRateLimiter(); 234 virtual void StopRateLimiter();
235 235
236 void RateLimit(); 236 void RateLimit();
237 237
238 bool AlwaysUsePartialTextureUpdates(); 238 bool AlwaysUsePartialTextureUpdates();
239 size_t MaxPartialTextureUpdates() const; 239 size_t MaxPartialTextureUpdates() const;
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 450
451 ScopedPtrVector<SwapPromise> swap_promise_list_; 451 ScopedPtrVector<SwapPromise> swap_promise_list_;
452 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 452 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
453 453
454 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 454 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
455 }; 455 };
456 456
457 } // namespace cc 457 } // namespace cc
458 458
459 #endif // CC_TREES_LAYER_TREE_HOST_H_ 459 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/base/swap_promise_monitor.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698