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

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

Issue 1152153003: [WIP] cc: Plumb frame timing info without using a commit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <stack> 8 #include <stack>
9 #include <string> 9 #include <string>
10 10
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 void LayerTreeHost::SendBeginFramesToChildren( 1300 void LayerTreeHost::SendBeginFramesToChildren(
1301 const BeginFrameArgs& args) const { 1301 const BeginFrameArgs& args) const {
1302 client_->SendBeginFramesToChildren(args); 1302 client_->SendBeginFramesToChildren(args);
1303 } 1303 }
1304 1304
1305 void LayerTreeHost::SetAuthoritativeVSyncInterval( 1305 void LayerTreeHost::SetAuthoritativeVSyncInterval(
1306 const base::TimeDelta& interval) { 1306 const base::TimeDelta& interval) {
1307 proxy_->SetAuthoritativeVSyncInterval(interval); 1307 proxy_->SetAuthoritativeVSyncInterval(interval);
1308 } 1308 }
1309 1309
1310 void LayerTreeHost::RecordFrameTimingEvents(
1311 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
1312 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) {
1313 client_->RecordFrameTimingEvents(composite_events.Pass(),
1314 main_frame_events.Pass());
1315 }
1316
1310 } // namespace cc 1317 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698