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

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

Issue 2753843003: Create a new action triggered when a BeginMainFrame is not expected before vsync (Closed)
Patch Set: respond to Brian's comments Created 3 years, 8 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 LayerListIterator<Layer> begin() const; 377 LayerListIterator<Layer> begin() const;
378 LayerListIterator<Layer> end() const; 378 LayerListIterator<Layer> end() const;
379 LayerListReverseIterator<Layer> rbegin(); 379 LayerListReverseIterator<Layer> rbegin();
380 LayerListReverseIterator<Layer> rend(); 380 LayerListReverseIterator<Layer> rend();
381 381
382 // LayerTreeHostInProcess interface to Proxy. 382 // LayerTreeHostInProcess interface to Proxy.
383 void WillBeginMainFrame(); 383 void WillBeginMainFrame();
384 void DidBeginMainFrame(); 384 void DidBeginMainFrame();
385 void BeginMainFrame(const BeginFrameArgs& args); 385 void BeginMainFrame(const BeginFrameArgs& args);
386 void BeginMainFrameNotExpectedSoon(); 386 void BeginMainFrameNotExpectedSoon();
387 void BeginMainFrameNotExpectedUntil(base::TimeTicks time);
387 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time); 388 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time);
388 void RequestMainFrameUpdate(); 389 void RequestMainFrameUpdate();
389 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl); 390 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl);
390 void WillCommit(); 391 void WillCommit();
391 void CommitComplete(); 392 void CommitComplete();
392 void RequestNewCompositorFrameSink(); 393 void RequestNewCompositorFrameSink();
393 void DidInitializeCompositorFrameSink(); 394 void DidInitializeCompositorFrameSink();
394 void DidFailToInitializeCompositorFrameSink(); 395 void DidFailToInitializeCompositorFrameSink();
395 virtual std::unique_ptr<LayerTreeHostImpl> CreateLayerTreeHostImpl( 396 virtual std::unique_ptr<LayerTreeHostImpl> CreateLayerTreeHostImpl(
396 LayerTreeHostImplClient* client); 397 LayerTreeHostImplClient* client);
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 queued_image_decodes_; 618 queued_image_decodes_;
618 619
619 bool did_navigate_ = false; 620 bool did_navigate_ = false;
620 621
621 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 622 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
622 }; 623 };
623 624
624 } // namespace cc 625 } // namespace cc
625 626
626 #endif // CC_TREES_LAYER_TREE_HOST_H_ 627 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698