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

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

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/test/test_now_source.cc ('k') | cc/trees/layer_tree_host.cc » ('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 #ifndef CC_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } 267 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); }
268 268
269 Proxy* proxy() const { return proxy_.get(); } 269 Proxy* proxy() const { return proxy_.get(); }
270 270
271 AnimationRegistrar* animation_registrar() const { 271 AnimationRegistrar* animation_registrar() const {
272 return animation_registrar_.get(); 272 return animation_registrar_.get();
273 } 273 }
274 274
275 // Obtains a thorough dump of the LayerTreeHost as a value. 275 // Obtains a thorough dump of the LayerTreeHost as a value.
276 void AsValueInto(base::debug::TracedValue* value) const; 276 void AsValueInto(base::trace_event::TracedValue* value) const;
277 277
278 bool in_paint_layer_contents() const { return in_paint_layer_contents_; } 278 bool in_paint_layer_contents() const { return in_paint_layer_contents_; }
279 279
280 // CreateUIResource creates a resource given a bitmap. The bitmap is 280 // CreateUIResource creates a resource given a bitmap. The bitmap is
281 // generated via an interface function, which is called when initializing the 281 // generated via an interface function, which is called when initializing the
282 // resource and when the resource has been lost (due to lost context). The 282 // resource and when the resource has been lost (due to lost context). The
283 // parameter of the interface is a single boolean, which indicates whether the 283 // parameter of the interface is a single boolean, which indicates whether the
284 // resource has been lost or not. CreateUIResource returns an Id of the 284 // resource has been lost or not. CreateUIResource returns an Id of the
285 // resource, which is always positive. 285 // resource, which is always positive.
286 virtual UIResourceId CreateUIResource(UIResourceClient* client); 286 virtual UIResourceId CreateUIResource(UIResourceClient* client);
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 480
481 uint32_t surface_id_namespace_; 481 uint32_t surface_id_namespace_;
482 uint32_t next_surface_sequence_; 482 uint32_t next_surface_sequence_;
483 483
484 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 484 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
485 }; 485 };
486 486
487 } // namespace cc 487 } // namespace cc
488 488
489 #endif // CC_TREES_LAYER_TREE_HOST_H_ 489 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/test_now_source.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698