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

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

Issue 1385043002: cc: Remove SetLayerTreeHostClientReady() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@startcomp
Patch Set: sky's offline comment Created 5 years, 2 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
« no previous file with comments | « cc/trees/channel_main.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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // The SharedBitmapManager will be used on the compositor thread. 89 // The SharedBitmapManager will be used on the compositor thread.
90 static scoped_ptr<LayerTreeHost> CreateThreaded( 90 static scoped_ptr<LayerTreeHost> CreateThreaded(
91 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner, 91 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner,
92 InitParams* params); 92 InitParams* params);
93 93
94 static scoped_ptr<LayerTreeHost> CreateSingleThreaded( 94 static scoped_ptr<LayerTreeHost> CreateSingleThreaded(
95 LayerTreeHostSingleThreadClient* single_thread_client, 95 LayerTreeHostSingleThreadClient* single_thread_client,
96 InitParams* params); 96 InitParams* params);
97 virtual ~LayerTreeHost(); 97 virtual ~LayerTreeHost();
98 98
99 void SetLayerTreeHostClientReady();
100
101 // LayerTreeHost interface to Proxy. 99 // LayerTreeHost interface to Proxy.
102 void WillBeginMainFrame(); 100 void WillBeginMainFrame();
103 void DidBeginMainFrame(); 101 void DidBeginMainFrame();
104 void BeginMainFrame(const BeginFrameArgs& args); 102 void BeginMainFrame(const BeginFrameArgs& args);
105 void BeginMainFrameNotExpectedSoon(); 103 void BeginMainFrameNotExpectedSoon();
106 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time); 104 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time);
107 void DidStopFlinging(); 105 void DidStopFlinging();
108 void Layout(); 106 void Layout();
109 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl); 107 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl);
110 void WillCommit(); 108 void WillCommit();
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 498
501 uint32_t surface_id_namespace_; 499 uint32_t surface_id_namespace_;
502 uint32_t next_surface_sequence_; 500 uint32_t next_surface_sequence_;
503 501
504 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 502 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
505 }; 503 };
506 504
507 } // namespace cc 505 } // namespace cc
508 506
509 #endif // CC_TREES_LAYER_TREE_HOST_H_ 507 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/trees/channel_main.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698