| OLD | NEW |
| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 LayerListIterator<Layer> begin() const; | 383 LayerListIterator<Layer> begin() const; |
| 384 LayerListIterator<Layer> end() const; | 384 LayerListIterator<Layer> end() const; |
| 385 LayerListReverseIterator<Layer> rbegin(); | 385 LayerListReverseIterator<Layer> rbegin(); |
| 386 LayerListReverseIterator<Layer> rend(); | 386 LayerListReverseIterator<Layer> rend(); |
| 387 | 387 |
| 388 // LayerTreeHostInProcess interface to Proxy. | 388 // LayerTreeHostInProcess interface to Proxy. |
| 389 void WillBeginMainFrame(); | 389 void WillBeginMainFrame(); |
| 390 void DidBeginMainFrame(); | 390 void DidBeginMainFrame(); |
| 391 void BeginMainFrame(const BeginFrameArgs& args); | 391 void BeginMainFrame(const BeginFrameArgs& args); |
| 392 void BeginMainFrameNotExpectedSoon(); | 392 void BeginMainFrameNotExpectedSoon(); |
| 393 void DoShortIdleWork(const BeginFrameArgs& args); |
| 393 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time); | 394 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time); |
| 394 void RequestMainFrameUpdate(); | 395 void RequestMainFrameUpdate(); |
| 395 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl); | 396 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl); |
| 396 void WillCommit(); | 397 void WillCommit(); |
| 397 void CommitComplete(); | 398 void CommitComplete(); |
| 398 void RequestNewCompositorFrameSink(); | 399 void RequestNewCompositorFrameSink(); |
| 399 void DidInitializeCompositorFrameSink(); | 400 void DidInitializeCompositorFrameSink(); |
| 400 void DidFailToInitializeCompositorFrameSink(); | 401 void DidFailToInitializeCompositorFrameSink(); |
| 401 virtual std::unique_ptr<LayerTreeHostImpl> CreateLayerTreeHostImpl( | 402 virtual std::unique_ptr<LayerTreeHostImpl> CreateLayerTreeHostImpl( |
| 402 LayerTreeHostImplClient* client); | 403 LayerTreeHostImplClient* client); |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 | 622 |
| 622 std::vector<std::pair<sk_sp<const SkImage>, base::Callback<void(bool)>>> | 623 std::vector<std::pair<sk_sp<const SkImage>, base::Callback<void(bool)>>> |
| 623 queued_image_decodes_; | 624 queued_image_decodes_; |
| 624 | 625 |
| 625 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 626 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 626 }; | 627 }; |
| 627 | 628 |
| 628 } // namespace cc | 629 } // namespace cc |
| 629 | 630 |
| 630 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 631 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |