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

Side by Side Diff: cc/layers/picture_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/layers/layer_impl.cc ('k') | cc/layers/picture_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_PICTURE_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_
6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 float MaximumContentsScale() const; 125 float MaximumContentsScale() const;
126 void ResetRasterScale(); 126 void ResetRasterScale();
127 void UpdateViewportRectForTilePriorityInContentSpace(); 127 void UpdateViewportRectForTilePriorityInContentSpace();
128 PictureLayerImpl* GetRecycledTwinLayer() const; 128 PictureLayerImpl* GetRecycledTwinLayer() const;
129 129
130 void SanityCheckTilingState() const; 130 void SanityCheckTilingState() const;
131 bool ShouldAdjustRasterScaleDuringScaleAnimations() const; 131 bool ShouldAdjustRasterScaleDuringScaleAnimations() const;
132 132
133 void GetDebugBorderProperties(SkColor* color, float* width) const override; 133 void GetDebugBorderProperties(SkColor* color, float* width) const override;
134 void GetAllTilesForTracing(std::set<const Tile*>* tiles) const override; 134 void GetAllTilesForTracing(std::set<const Tile*>* tiles) const override;
135 void AsValueInto(base::debug::TracedValue* dict) const override; 135 void AsValueInto(base::trace_event::TracedValue* dict) const override;
136 136
137 virtual void UpdateIdealScales(); 137 virtual void UpdateIdealScales();
138 float MaximumTilingContentsScale() const; 138 float MaximumTilingContentsScale() const;
139 scoped_ptr<PictureLayerTilingSet> CreatePictureLayerTilingSet(); 139 scoped_ptr<PictureLayerTilingSet> CreatePictureLayerTilingSet();
140 140
141 PictureLayerImpl* twin_layer_; 141 PictureLayerImpl* twin_layer_;
142 142
143 scoped_ptr<PictureLayerTilingSet> tilings_; 143 scoped_ptr<PictureLayerTilingSet> tilings_;
144 scoped_refptr<RasterSource> raster_source_; 144 scoped_refptr<RasterSource> raster_source_;
145 Region invalidation_; 145 Region invalidation_;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // of comparing pointers, since objects pointed to are not guaranteed to 177 // of comparing pointers, since objects pointed to are not guaranteed to
178 // exist. 178 // exist.
179 std::vector<PictureLayerTiling*> last_append_quads_tilings_; 179 std::vector<PictureLayerTiling*> last_append_quads_tilings_;
180 180
181 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 181 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
182 }; 182 };
183 183
184 } // namespace cc 184 } // namespace cc
185 185
186 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 186 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698