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

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: Add BeginMainFrameNotExpectedUntil to content::CompositorImpl for Android. Created 3 years, 7 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/test/stub_layer_tree_host_client.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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 LayerListIterator<Layer> begin() const; 380 LayerListIterator<Layer> begin() const;
381 LayerListIterator<Layer> end() const; 381 LayerListIterator<Layer> end() const;
382 LayerListReverseIterator<Layer> rbegin(); 382 LayerListReverseIterator<Layer> rbegin();
383 LayerListReverseIterator<Layer> rend(); 383 LayerListReverseIterator<Layer> rend();
384 384
385 // LayerTreeHostInProcess interface to Proxy. 385 // LayerTreeHostInProcess interface to Proxy.
386 void WillBeginMainFrame(); 386 void WillBeginMainFrame();
387 void DidBeginMainFrame(); 387 void DidBeginMainFrame();
388 void BeginMainFrame(const BeginFrameArgs& args); 388 void BeginMainFrame(const BeginFrameArgs& args);
389 void BeginMainFrameNotExpectedSoon(); 389 void BeginMainFrameNotExpectedSoon();
390 void BeginMainFrameNotExpectedUntil(base::TimeTicks time);
390 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time); 391 void AnimateLayers(base::TimeTicks monotonic_frame_begin_time);
391 void RequestMainFrameUpdate(); 392 void RequestMainFrameUpdate();
392 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl); 393 void FinishCommitOnImplThread(LayerTreeHostImpl* host_impl);
393 void WillCommit(); 394 void WillCommit();
394 void CommitComplete(); 395 void CommitComplete();
395 void RequestNewCompositorFrameSink(); 396 void RequestNewCompositorFrameSink();
396 void DidInitializeCompositorFrameSink(); 397 void DidInitializeCompositorFrameSink();
397 void DidFailToInitializeCompositorFrameSink(); 398 void DidFailToInitializeCompositorFrameSink();
398 virtual std::unique_ptr<LayerTreeHostImpl> CreateLayerTreeHostImpl( 399 virtual std::unique_ptr<LayerTreeHostImpl> CreateLayerTreeHostImpl(
399 LayerTreeHostImplClient* client); 400 LayerTreeHostImplClient* client);
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 queued_image_decodes_; 626 queued_image_decodes_;
626 627
627 bool did_navigate_ = false; 628 bool did_navigate_ = false;
628 629
629 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 630 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
630 }; 631 };
631 632
632 } // namespace cc 633 } // namespace cc
633 634
634 #endif // CC_TREES_LAYER_TREE_HOST_H_ 635 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/stub_layer_tree_host_client.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698