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

Side by Side Diff: cc/trees/layer_tree_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 MemoryHistory* memory_history() const; 73 MemoryHistory* memory_history() const;
74 bool device_viewport_valid_for_tile_management() const; 74 bool device_viewport_valid_for_tile_management() const;
75 bool IsActiveTree() const; 75 bool IsActiveTree() const;
76 bool IsPendingTree() const; 76 bool IsPendingTree() const;
77 bool IsRecycleTree() const; 77 bool IsRecycleTree() const;
78 LayerImpl* FindActiveTreeLayerById(int id); 78 LayerImpl* FindActiveTreeLayerById(int id);
79 LayerImpl* FindPendingTreeLayerById(int id); 79 LayerImpl* FindPendingTreeLayerById(int id);
80 int MaxTextureSize() const; 80 int MaxTextureSize() const;
81 bool PinchGestureActive() const; 81 bool PinchGestureActive() const;
82 base::TimeTicks CurrentFrameTimeTicks() const; 82 base::TimeTicks CurrentFrameTimeTicks() const;
83 base::Time CurrentFrameTime() const;
84 base::TimeTicks CurrentPhysicalTimeTicks() const; 83 base::TimeTicks CurrentPhysicalTimeTicks() const;
85 void SetNeedsCommit(); 84 void SetNeedsCommit();
86 gfx::Size DrawViewportSize() const; 85 gfx::Size DrawViewportSize() const;
87 void StartScrollbarAnimation(); 86 void StartScrollbarAnimation();
88 void DidAnimateScrollOffset(); 87 void DidAnimateScrollOffset();
89 88
90 // Tree specific methods exposed to layer-impl tree. 89 // Tree specific methods exposed to layer-impl tree.
91 // --------------------------------------------------------------------------- 90 // ---------------------------------------------------------------------------
92 void SetNeedsRedraw(); 91 void SetNeedsRedraw();
93 92
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 297
299 UIResourceRequestQueue ui_resource_request_queue_; 298 UIResourceRequestQueue ui_resource_request_queue_;
300 299
301 private: 300 private:
302 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 301 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
303 }; 302 };
304 303
305 } // namespace cc 304 } // namespace cc
306 305
307 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 306 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698