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

Side by Side Diff: cc/playback/compositing_display_item.h

Issue 2025893003: Clean up some dead code accidentally left around in cc DisplayItem subtypes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/playback/clip_path_display_item.h ('k') | cc/playback/filter_display_item.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_ 5 #ifndef CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_
6 #define CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_ 6 #define CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 ImageSerializationProcessor* image_serialization_processor) 75 ImageSerializationProcessor* image_serialization_processor)
76 const override; 76 const override;
77 void Raster(SkCanvas* canvas, 77 void Raster(SkCanvas* canvas,
78 const gfx::Rect& canvas_target_playback_rect, 78 const gfx::Rect& canvas_target_playback_rect,
79 SkPicture::AbortCallback* callback) const override; 79 SkPicture::AbortCallback* callback) const override;
80 void AsValueInto(const gfx::Rect& visual_rect, 80 void AsValueInto(const gfx::Rect& visual_rect,
81 base::trace_event::TracedValue* array) const override; 81 base::trace_event::TracedValue* array) const override;
82 size_t ExternalMemoryUsage() const override; 82 size_t ExternalMemoryUsage() const override;
83 83
84 int ApproximateOpCount() const { return 0; } 84 int ApproximateOpCount() const { return 0; }
85 bool IsSuitableForGpuRasterization() const { return true; }
86 }; 85 };
87 86
88 } // namespace cc 87 } // namespace cc
89 88
90 #endif // CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_ 89 #endif // CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_
OLDNEW
« no previous file with comments | « cc/playback/clip_path_display_item.h ('k') | cc/playback/filter_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698