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

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

Issue 15058004: cc: Rename VSync to BeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Android Created 7 years, 7 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 <vector> 9 #include <vector>
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // Returns true if any LayerTreeHost is alive. 93 // Returns true if any LayerTreeHost is alive.
94 static bool AnyLayerTreeHostInstanceExists(); 94 static bool AnyLayerTreeHostInstanceExists();
95 95
96 void set_needs_filter_context() { needs_filter_context_ = true; } 96 void set_needs_filter_context() { needs_filter_context_ = true; }
97 bool needs_offscreen_context() const { 97 bool needs_offscreen_context() const {
98 return needs_filter_context_ || settings_.accelerate_painting; 98 return needs_filter_context_ || settings_.accelerate_painting;
99 } 99 }
100 100
101 // LayerTreeHost interface to Proxy. 101 // LayerTreeHost interface to Proxy.
102 void WillBeginFrame() { client_->WillBeginFrame(); } 102 void WillBeginMainFrame() { client_->WillBeginMainFrame(); }
103 void DidBeginFrame(); 103 void DidBeginMainFrame();
104 void UpdateClientAnimations(base::TimeTicks monotonic_frame_begin_time); 104 void UpdateClientAnimations(base::TimeTicks monotonic_frame_begin_time);
105 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time); 105 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time);
106 void DidStopFlinging(); 106 void DidStopFlinging();
107 void Layout(); 107 void Layout();
108 void BeginCommitOnImplThread(LayerTreeHostImpl* host_impl); 108 void BeginCommitOnImplThread(LayerTreeHostImpl* host_impl);
109 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl); 109 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl);
110 gfx::Size PinchZoomScrollbarSize( 110 gfx::Size PinchZoomScrollbarSize(
111 WebKit::WebScrollbar::Orientation orientation) const; 111 WebKit::WebScrollbar::Orientation orientation) const;
112 void SetPinchZoomScrollbarsBoundsAndPosition(); 112 void SetPinchZoomScrollbarsBoundsAndPosition();
113 void CreateAndAddPinchZoomScrollbars(); 113 void CreateAndAddPinchZoomScrollbars();
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 bool in_paint_layer_contents_; 344 bool in_paint_layer_contents_;
345 345
346 LatencyInfo latency_info_; 346 LatencyInfo latency_info_;
347 347
348 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 348 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
349 }; 349 };
350 350
351 } // namespace cc 351 } // namespace cc
352 352
353 #endif // CC_TREES_LAYER_TREE_HOST_H_ 353 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698