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

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

Issue 54493003: Propagate source_frame_number from LTH to DevTools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed android build 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/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_client.h » ('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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 virtual ~LayerTreeHost(); 95 virtual ~LayerTreeHost();
96 96
97 void SetLayerTreeHostClientReady(); 97 void SetLayerTreeHostClientReady();
98 98
99 void set_needs_filter_context() { needs_filter_context_ = true; } 99 void set_needs_filter_context() { needs_filter_context_ = true; }
100 bool needs_offscreen_context() const { 100 bool needs_offscreen_context() const {
101 return needs_filter_context_; 101 return needs_filter_context_;
102 } 102 }
103 103
104 // LayerTreeHost interface to Proxy. 104 // LayerTreeHost interface to Proxy.
105 void WillBeginMainFrame() { client_->WillBeginMainFrame(); } 105 void WillBeginMainFrame() {
106 client_->WillBeginMainFrame(source_frame_number_);
107 }
106 void DidBeginMainFrame(); 108 void DidBeginMainFrame();
107 void UpdateClientAnimations(base::TimeTicks monotonic_frame_begin_time); 109 void UpdateClientAnimations(base::TimeTicks monotonic_frame_begin_time);
108 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time); 110 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time);
109 void DidStopFlinging(); 111 void DidStopFlinging();
110 void Layout(); 112 void Layout();
111 void BeginCommitOnImplThread(LayerTreeHostImpl* host_impl); 113 void BeginCommitOnImplThread(LayerTreeHostImpl* host_impl);
112 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl); 114 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl);
113 void WillCommit(); 115 void WillCommit();
114 void CommitComplete(); 116 void CommitComplete();
115 scoped_ptr<OutputSurface> CreateOutputSurface(); 117 scoped_ptr<OutputSurface> CreateOutputSurface();
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 scoped_refptr<Layer> outer_viewport_scroll_layer_; 432 scoped_refptr<Layer> outer_viewport_scroll_layer_;
431 433
432 SharedBitmapManager* shared_bitmap_manager_; 434 SharedBitmapManager* shared_bitmap_manager_;
433 435
434 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 436 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
435 }; 437 };
436 438
437 } // namespace cc 439 } // namespace cc
438 440
439 #endif // CC_TREES_LAYER_TREE_HOST_H_ 441 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698