OLD | NEW |
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 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1291 void LayerTreeHost::SendBeginFramesToChildren( | 1291 void LayerTreeHost::SendBeginFramesToChildren( |
1292 const BeginFrameArgs& args) const { | 1292 const BeginFrameArgs& args) const { |
1293 client_->SendBeginFramesToChildren(args); | 1293 client_->SendBeginFramesToChildren(args); |
1294 } | 1294 } |
1295 | 1295 |
1296 void LayerTreeHost::SetAuthoritativeVSyncInterval( | 1296 void LayerTreeHost::SetAuthoritativeVSyncInterval( |
1297 const base::TimeDelta& interval) { | 1297 const base::TimeDelta& interval) { |
1298 proxy_->SetAuthoritativeVSyncInterval(interval); | 1298 proxy_->SetAuthoritativeVSyncInterval(interval); |
1299 } | 1299 } |
1300 | 1300 |
| 1301 void LayerTreeHost::RecordFrameTimingEvents( |
| 1302 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
| 1303 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) { |
| 1304 client_->RecordFrameTimingEvents(composite_events.Pass(), |
| 1305 main_frame_events.Pass()); |
| 1306 } |
| 1307 |
1301 } // namespace cc | 1308 } // namespace cc |
OLD | NEW |