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

Unified Diff: cc/trees/proxy_impl.h

Issue 1432463002: cc: Track BeginMainFrame more precisely in CompositorTimingHistory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase; fix typo Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/channel_main.h ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_impl.h
diff --git a/cc/trees/proxy_impl.h b/cc/trees/proxy_impl.h
index b2f4cd1da0f1cc7a29974509427453f08bdd9a5c..4b0cdaa7c819b790bed03f869b30309d5815af9d 100644
--- a/cc/trees/proxy_impl.h
+++ b/cc/trees/proxy_impl.h
@@ -35,7 +35,6 @@ class CC_EXPORT ProxyImpl {
virtual void SetDeferCommitsOnImpl(bool defer_commits) const = 0;
virtual void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) = 0;
virtual void SetNeedsCommitOnImpl() = 0;
- virtual void BeginMainFrameAbortedOnImpl(CommitEarlyOutReason reason) = 0;
virtual void FinishAllRenderingOnImpl(CompletionEvent* completion) = 0;
virtual void SetVisibleOnImpl(bool visible) = 0;
virtual void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) = 0;
@@ -43,8 +42,12 @@ class CC_EXPORT ProxyImpl {
virtual void MainFrameWillHappenOnImplForTesting(
CompletionEvent* completion,
bool* main_frame_will_happen) = 0;
+ virtual void BeginMainFrameAbortedOnImpl(
+ CommitEarlyOutReason reason,
+ base::TimeTicks main_thread_start_time) = 0;
virtual void StartCommitOnImpl(CompletionEvent* completion,
LayerTreeHost* layer_tree_host,
+ base::TimeTicks main_thread_start_time,
bool hold_commit_for_activation) = 0;
virtual void InitializeImplOnImpl(CompletionEvent* completion,
LayerTreeHost* layer_tree_host) = 0;
« no previous file with comments | « cc/trees/channel_main.h ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698