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

Side by Side Diff: cc/layers/heads_up_display_layer_impl.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/debug/traced_value.cc ('k') | cc/layers/heads_up_display_layer_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 6 #define CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 double current_upper_bound; 65 double current_upper_bound;
66 const double default_upper_bound; 66 const double default_upper_bound;
67 const double indicator; 67 const double indicator;
68 }; 68 };
69 69
70 HeadsUpDisplayLayerImpl(LayerTreeImpl* tree_impl, int id); 70 HeadsUpDisplayLayerImpl(LayerTreeImpl* tree_impl, int id);
71 71
72 const char* LayerTypeAsString() const override; 72 const char* LayerTypeAsString() const override;
73 73
74 void AsValueInto(base::debug::TracedValue* dict) const override; 74 void AsValueInto(base::trace_event::TracedValue* dict) const override;
75 75
76 void UpdateHudContents(); 76 void UpdateHudContents();
77 void DrawHudContents(SkCanvas* canvas); 77 void DrawHudContents(SkCanvas* canvas);
78 78
79 void DrawText(SkCanvas* canvas, 79 void DrawText(SkCanvas* canvas,
80 SkPaint* paint, 80 SkPaint* paint,
81 const std::string& text, 81 const std::string& text,
82 SkPaint::Align align, 82 SkPaint::Align align,
83 int size, 83 int size,
84 int x, 84 int x,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 std::vector<DebugRect> paint_rects_; 135 std::vector<DebugRect> paint_rects_;
136 136
137 base::TimeTicks time_of_last_graph_update_; 137 base::TimeTicks time_of_last_graph_update_;
138 138
139 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl); 139 DISALLOW_COPY_AND_ASSIGN(HeadsUpDisplayLayerImpl);
140 }; 140 };
141 141
142 } // namespace cc 142 } // namespace cc
143 143
144 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_ 144 #endif // CC_LAYERS_HEADS_UP_DISPLAY_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/debug/traced_value.cc ('k') | cc/layers/heads_up_display_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698