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

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

Issue 879913002: mechanical rename of base::debug -> base::trace_event for /cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part3
Patch Set: Edited a comment 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
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 // Top controls are only used in threaded mode. 1212 // Top controls are only used in threaded mode.
1213 proxy_->ImplThreadTaskRunner()->PostTask( 1213 proxy_->ImplThreadTaskRunner()->PostTask(
1214 FROM_HERE, 1214 FROM_HERE,
1215 base::Bind(&TopControlsManager::UpdateTopControlsState, 1215 base::Bind(&TopControlsManager::UpdateTopControlsState,
1216 top_controls_manager_weak_ptr_, 1216 top_controls_manager_weak_ptr_,
1217 constraints, 1217 constraints,
1218 current, 1218 current,
1219 animate)); 1219 animate));
1220 } 1220 }
1221 1221
1222 void LayerTreeHost::AsValueInto(base::debug::TracedValue* state) const { 1222 void LayerTreeHost::AsValueInto(base::trace_event::TracedValue* state) const {
1223 state->BeginDictionary("proxy"); 1223 state->BeginDictionary("proxy");
1224 proxy_->AsValueInto(state); 1224 proxy_->AsValueInto(state);
1225 state->EndDictionary(); 1225 state->EndDictionary();
1226 } 1226 }
1227 1227
1228 void LayerTreeHost::AnimateLayers(base::TimeTicks monotonic_time) { 1228 void LayerTreeHost::AnimateLayers(base::TimeTicks monotonic_time) {
1229 if (!settings_.accelerated_animation_enabled || 1229 if (!settings_.accelerated_animation_enabled ||
1230 animation_registrar_->active_animation_controllers().empty()) 1230 animation_registrar_->active_animation_controllers().empty())
1231 return; 1231 return;
1232 1232
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 bool children_need_begin_frames) const { 1370 bool children_need_begin_frames) const {
1371 proxy_->SetChildrenNeedBeginFrames(children_need_begin_frames); 1371 proxy_->SetChildrenNeedBeginFrames(children_need_begin_frames);
1372 } 1372 }
1373 1373
1374 void LayerTreeHost::SendBeginFramesToChildren( 1374 void LayerTreeHost::SendBeginFramesToChildren(
1375 const BeginFrameArgs& args) const { 1375 const BeginFrameArgs& args) const {
1376 client_->SendBeginFramesToChildren(args); 1376 client_->SendBeginFramesToChildren(args);
1377 } 1377 }
1378 1378
1379 } // namespace cc 1379 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698