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

Side by Side Diff: cc/resources/picture_pile_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/resources/picture_layer_tiling_set.cc ('k') | cc/resources/picture_pile_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_RESOURCES_PICTURE_PILE_IMPL_H_ 5 #ifndef CC_RESOURCES_PICTURE_PILE_IMPL_H_
6 #define CC_RESOURCES_PICTURE_PILE_IMPL_H_ 6 #define CC_RESOURCES_PICTURE_PILE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 void SetRequiresClear(bool requires_clear) override; 56 void SetRequiresClear(bool requires_clear) override;
57 bool ShouldAttemptToUseDistanceFieldText() const override; 57 bool ShouldAttemptToUseDistanceFieldText() const override;
58 gfx::Size GetSize() const override; 58 gfx::Size GetSize() const override;
59 bool IsSolidColor() const override; 59 bool IsSolidColor() const override;
60 SkColor GetSolidColor() const override; 60 SkColor GetSolidColor() const override;
61 bool HasRecordings() const override; 61 bool HasRecordings() const override;
62 bool CanUseLCDText() const override; 62 bool CanUseLCDText() const override;
63 63
64 // Tracing functionality. 64 // Tracing functionality.
65 void DidBeginTracing() override; 65 void DidBeginTracing() override;
66 void AsValueInto(base::debug::TracedValue* array) const override; 66 void AsValueInto(base::trace_event::TracedValue* array) const override;
67 skia::RefPtr<SkPicture> GetFlattenedPicture() override; 67 skia::RefPtr<SkPicture> GetFlattenedPicture() override;
68 size_t GetPictureMemoryUsage() const override; 68 size_t GetPictureMemoryUsage() const override;
69 69
70 // Iterator used to return SkPixelRefs from this picture pile. 70 // Iterator used to return SkPixelRefs from this picture pile.
71 // Public for testing. 71 // Public for testing.
72 class CC_EXPORT PixelRefIterator { 72 class CC_EXPORT PixelRefIterator {
73 public: 73 public:
74 PixelRefIterator(const gfx::Rect& content_rect, 74 PixelRefIterator(const gfx::Rect& content_rect,
75 float contents_scale, 75 float contents_scale,
76 const PicturePileImpl* picture_pile); 76 const PicturePileImpl* picture_pile);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 gfx::Rect PaddedRect(const PictureMapKey& key) const; 147 gfx::Rect PaddedRect(const PictureMapKey& key) const;
148 148
149 bool should_attempt_to_use_distance_field_text_; 149 bool should_attempt_to_use_distance_field_text_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); 151 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);
152 }; 152 };
153 153
154 } // namespace cc 154 } // namespace cc
155 155
156 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_ 156 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/resources/picture_layer_tiling_set.cc ('k') | cc/resources/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698