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

Unified Diff: cc/trees/threaded_channel.h

Issue 1432463002: cc: Track BeginMainFrame more precisely in CompositorTimingHistory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit tests. New tests to be added. 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
Index: cc/trees/threaded_channel.h
diff --git a/cc/trees/threaded_channel.h b/cc/trees/threaded_channel.h
index 50d71407f3dae3a6a181b5c4e4cbf8322545a41f..290831fd384bc819a0fd56882e751680ce807322 100644
--- a/cc/trees/threaded_channel.h
+++ b/cc/trees/threaded_channel.h
@@ -85,7 +85,9 @@ class CC_EXPORT ThreadedChannel : public ChannelMain, public ChannelImpl {
void SetInputThrottledUntilCommitOnImpl(bool is_throttled) override;
void SetDeferCommitsOnImpl(bool defer_commits) override;
void SetNeedsCommitOnImpl() override;
- void BeginMainFrameAbortedOnImpl(CommitEarlyOutReason reason) override;
+ void BeginMainFrameAbortedOnImpl(
+ CommitEarlyOutReason reason,
+ base::TimeTicks main_thread_start_time) override;
void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) override;
// Blocking calls to ProxyImpl
@@ -96,7 +98,8 @@ class CC_EXPORT ThreadedChannel : public ChannelMain, public ChannelImpl {
void MainFrameWillHappenOnImplForTesting(
CompletionEvent* completion,
bool* main_frame_will_happen) override;
- void StartCommitOnImpl(CompletionEvent* completion) override;
+ void StartCommitOnImpl(CompletionEvent* completion,
+ base::TimeTicks main_thread_start_time) override;
// ChannelImpl Implementation
void DidCompleteSwapBuffers() override;

Powered by Google App Engine
This is Rietveld 408576698