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

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

Issue 52663003: Remove all fling related stuff from the renderer assuming that browser side Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/test/fake_proxy.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 <string> 10 #include <string>
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 void set_needs_filter_context() { needs_filter_context_ = true; } 140 void set_needs_filter_context() { needs_filter_context_ = true; }
141 bool needs_offscreen_context() const { 141 bool needs_offscreen_context() const {
142 return needs_filter_context_; 142 return needs_filter_context_;
143 } 143 }
144 144
145 // LayerTreeHost interface to Proxy. 145 // LayerTreeHost interface to Proxy.
146 void WillBeginMainFrame() { client_->WillBeginMainFrame(); } 146 void WillBeginMainFrame() { client_->WillBeginMainFrame(); }
147 void DidBeginMainFrame(); 147 void DidBeginMainFrame();
148 void UpdateClientAnimations(base::TimeTicks monotonic_frame_begin_time); 148 void UpdateClientAnimations(base::TimeTicks monotonic_frame_begin_time);
149 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time); 149 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time);
150 void DidStopFlinging();
151 void Layout(); 150 void Layout();
152 void BeginCommitOnImplThread(LayerTreeHostImpl* host_impl); 151 void BeginCommitOnImplThread(LayerTreeHostImpl* host_impl);
153 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl); 152 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl);
154 void WillCommit(); 153 void WillCommit();
155 void CommitComplete(); 154 void CommitComplete();
156 scoped_ptr<OutputSurface> CreateOutputSurface(); 155 scoped_ptr<OutputSurface> CreateOutputSurface();
157 virtual scoped_ptr<LayerTreeHostImpl> CreateLayerTreeHostImpl( 156 virtual scoped_ptr<LayerTreeHostImpl> CreateLayerTreeHostImpl(
158 LayerTreeHostImplClient* client); 157 LayerTreeHostImplClient* client);
159 void DidLoseOutputSurface(); 158 void DidLoseOutputSurface();
160 bool output_surface_lost() const { return output_surface_lost_; } 159 bool output_surface_lost() const { return output_surface_lost_; }
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 scoped_refptr<Layer> outer_viewport_scroll_layer_; 472 scoped_refptr<Layer> outer_viewport_scroll_layer_;
474 473
475 SharedBitmapManager* shared_bitmap_manager_; 474 SharedBitmapManager* shared_bitmap_manager_;
476 475
477 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 476 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
478 }; 477 };
479 478
480 } // namespace cc 479 } // namespace cc
481 480
482 #endif // CC_TREES_LAYER_TREE_HOST_H_ 481 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/fake_proxy.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698