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

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

Issue 194543002: Removing base::Time from SetAnimationEvents and PostAnimationEventsToMainThreadOnImplThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unused last_animation_time_ as well. Created 6 years, 9 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/test/fake_layer_tree_host_impl_client.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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 virtual void SetNeedsFullTreeSync(); 177 virtual void SetNeedsFullTreeSync();
178 void SetNeedsRedraw(); 178 void SetNeedsRedraw();
179 void SetNeedsRedrawRect(const gfx::Rect& damage_rect); 179 void SetNeedsRedrawRect(const gfx::Rect& damage_rect);
180 bool CommitRequested() const; 180 bool CommitRequested() const;
181 bool BeginMainFrameRequested() const; 181 bool BeginMainFrameRequested() const;
182 182
183 void SetNextCommitWaitsForActivation(); 183 void SetNextCommitWaitsForActivation();
184 184
185 void SetNextCommitForcesRedraw(); 185 void SetNextCommitForcesRedraw();
186 186
187 void SetAnimationEvents(scoped_ptr<AnimationEventsVector> events, 187 void SetAnimationEvents(scoped_ptr<AnimationEventsVector> events);
188 base::Time wall_clock_time);
189 188
190 void SetRootLayer(scoped_refptr<Layer> root_layer); 189 void SetRootLayer(scoped_refptr<Layer> root_layer);
191 Layer* root_layer() { return root_layer_.get(); } 190 Layer* root_layer() { return root_layer_.get(); }
192 const Layer* root_layer() const { return root_layer_.get(); } 191 const Layer* root_layer() const { return root_layer_.get(); }
193 const Layer* page_scale_layer() const { return page_scale_layer_.get(); } 192 const Layer* page_scale_layer() const { return page_scale_layer_.get(); }
194 void RegisterViewportLayers( 193 void RegisterViewportLayers(
195 scoped_refptr<Layer> page_scale_layer, 194 scoped_refptr<Layer> page_scale_layer,
196 scoped_refptr<Layer> inner_viewport_scroll_layer, 195 scoped_refptr<Layer> inner_viewport_scroll_layer,
197 scoped_refptr<Layer> outer_viewport_scroll_layer); 196 scoped_refptr<Layer> outer_viewport_scroll_layer);
198 Layer* inner_viewport_scroll_layer() const { 197 Layer* inner_viewport_scroll_layer() const {
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 459
461 ScopedPtrVector<SwapPromise> swap_promise_list_; 460 ScopedPtrVector<SwapPromise> swap_promise_list_;
462 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 461 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
463 462
464 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 463 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
465 }; 464 };
466 465
467 } // namespace cc 466 } // namespace cc
468 467
469 #endif // CC_TREES_LAYER_TREE_HOST_H_ 468 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698