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

Side by Side Diff: cc/trees/single_thread_proxy.cc

Issue 914403003: cc: Add main frame timing info to frame timing tracker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 #include "cc/trees/single_thread_proxy.h" 5 #include "cc/trees/single_thread_proxy.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/trace_event/trace_event.h" 8 #include "base/trace_event/trace_event.h"
9 #include "cc/debug/benchmark_instrumentation.h" 9 #include "cc/debug/benchmark_instrumentation.h"
10 #include "cc/debug/devtools_instrumentation.h" 10 #include "cc/debug/devtools_instrumentation.h"
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 } 818 }
819 819
820 void SingleThreadProxy::DidBeginImplFrameDeadline() { 820 void SingleThreadProxy::DidBeginImplFrameDeadline() {
821 layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame(); 821 layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame();
822 } 822 }
823 823
824 void SingleThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) { 824 void SingleThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) {
825 layer_tree_host_->SendBeginFramesToChildren(args); 825 layer_tree_host_->SendBeginFramesToChildren(args);
826 } 826 }
827 827
828 base::TimeTicks SingleThreadProxy::GetNextBeginImplFrameTimeIfRequested()
vmpstr 2015/02/11 22:42:49 Will add a TODO.
829 const {
830 return base::TimeTicks();
831 }
832
828 } // namespace cc 833 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698