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

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

Issue 437163007: Revert of Implement scroll handler latency tracking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 } 221 }
222 222
223 void SetVisible(bool visible); 223 void SetVisible(bool visible);
224 bool visible() const { return visible_; } 224 bool visible() const { return visible_; }
225 225
226 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, 226 void StartPageScaleAnimation(const gfx::Vector2d& target_offset,
227 bool use_anchor, 227 bool use_anchor,
228 float scale, 228 float scale,
229 base::TimeDelta duration); 229 base::TimeDelta duration);
230 230
231 void ApplyScrollAndScale(ScrollAndScaleSet* info); 231 void ApplyScrollAndScale(const ScrollAndScaleSet& info);
232 void SetImplTransform(const gfx::Transform& transform); 232 void SetImplTransform(const gfx::Transform& transform);
233 233
234 // Virtual for tests. 234 // Virtual for tests.
235 virtual void StartRateLimiter(); 235 virtual void StartRateLimiter();
236 virtual void StopRateLimiter(); 236 virtual void StopRateLimiter();
237 237
238 void RateLimit(); 238 void RateLimit();
239 239
240 bool AlwaysUsePartialTextureUpdates(); 240 bool AlwaysUsePartialTextureUpdates();
241 size_t MaxPartialTextureUpdates() const; 241 size_t MaxPartialTextureUpdates() const;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 454
455 ScopedPtrVector<SwapPromise> swap_promise_list_; 455 ScopedPtrVector<SwapPromise> swap_promise_list_;
456 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 456 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
457 457
458 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 458 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
459 }; 459 };
460 460
461 } // namespace cc 461 } // namespace cc
462 462
463 #endif // CC_TREES_LAYER_TREE_HOST_H_ 463 #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