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

Side by Side Diff: cc/resources/display_list_raster_source.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/display_item_list.cc ('k') | cc/resources/display_list_raster_source.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DISPLAY_LIST_RASTER_SOURCE_H_ 5 #ifndef CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_
6 #define CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_ 6 #define CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 float contents_scale, 43 float contents_scale,
44 std::vector<SkPixelRef*>* pixel_refs) const override; 44 std::vector<SkPixelRef*>* pixel_refs) const override;
45 bool CoversRect(const gfx::Rect& content_rect, 45 bool CoversRect(const gfx::Rect& content_rect,
46 float contents_scale) const override; 46 float contents_scale) const override;
47 bool HasRecordings() const override; 47 bool HasRecordings() const override;
48 void SetShouldAttemptToUseDistanceFieldText() override; 48 void SetShouldAttemptToUseDistanceFieldText() override;
49 void SetBackgoundColor(SkColor background_color) override; 49 void SetBackgoundColor(SkColor background_color) override;
50 void SetRequiresClear(bool requires_clear) override; 50 void SetRequiresClear(bool requires_clear) override;
51 bool ShouldAttemptToUseDistanceFieldText() const override; 51 bool ShouldAttemptToUseDistanceFieldText() const override;
52 void DidBeginTracing() override; 52 void DidBeginTracing() override;
53 void AsValueInto(base::debug::TracedValue* array) const override; 53 void AsValueInto(base::trace_event::TracedValue* array) const override;
54 skia::RefPtr<SkPicture> GetFlattenedPicture() override; 54 skia::RefPtr<SkPicture> GetFlattenedPicture() override;
55 size_t GetPictureMemoryUsage() const override; 55 size_t GetPictureMemoryUsage() const override;
56 bool CanUseLCDText() const override; 56 bool CanUseLCDText() const override;
57 57
58 protected: 58 protected:
59 DisplayListRasterSource(); 59 DisplayListRasterSource();
60 explicit DisplayListRasterSource(const DisplayListRecordingSource* other); 60 explicit DisplayListRasterSource(const DisplayListRecordingSource* other);
61 ~DisplayListRasterSource() override; 61 ~DisplayListRasterSource() override;
62 62
63 scoped_refptr<DisplayItemList> display_list_; 63 scoped_refptr<DisplayItemList> display_list_;
(...skipping 21 matching lines...) Expand all
85 bool is_analysis) const; 85 bool is_analysis) const;
86 86
87 bool should_attempt_to_use_distance_field_text_; 87 bool should_attempt_to_use_distance_field_text_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(DisplayListRasterSource); 89 DISALLOW_COPY_AND_ASSIGN(DisplayListRasterSource);
90 }; 90 };
91 91
92 } // namespace cc 92 } // namespace cc
93 93
94 #endif // CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_ 94 #endif // CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_
OLDNEW
« no previous file with comments | « cc/resources/display_item_list.cc ('k') | cc/resources/display_list_raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698