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

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

Issue 178103004: Removing the use of base::Time inside the LayerTreeHost system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing to a common ToWebKitTime function. 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
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
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); 188 base::TimeTicks clock_time);
189 189
190 void SetRootLayer(scoped_refptr<Layer> root_layer); 190 void SetRootLayer(scoped_refptr<Layer> root_layer);
191 Layer* root_layer() { return root_layer_.get(); } 191 Layer* root_layer() { return root_layer_.get(); }
192 const Layer* root_layer() const { return root_layer_.get(); } 192 const Layer* root_layer() const { return root_layer_.get(); }
193 const Layer* page_scale_layer() const { return page_scale_layer_.get(); } 193 const Layer* page_scale_layer() const { return page_scale_layer_.get(); }
194 void RegisterViewportLayers( 194 void RegisterViewportLayers(
195 scoped_refptr<Layer> page_scale_layer, 195 scoped_refptr<Layer> page_scale_layer,
196 scoped_refptr<Layer> inner_viewport_scroll_layer, 196 scoped_refptr<Layer> inner_viewport_scroll_layer,
197 scoped_refptr<Layer> outer_viewport_scroll_layer); 197 scoped_refptr<Layer> outer_viewport_scroll_layer);
198 Layer* inner_viewport_scroll_layer() const { 198 Layer* inner_viewport_scroll_layer() const {
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 460
461 ScopedPtrVector<SwapPromise> swap_promise_list_; 461 ScopedPtrVector<SwapPromise> swap_promise_list_;
462 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 462 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
463 463
464 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 464 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
465 }; 465 };
466 466
467 } // namespace cc 467 } // namespace cc
468 468
469 #endif // CC_TREES_LAYER_TREE_HOST_H_ 469 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698