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

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

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase Created 4 years, 8 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/output/vulkan_renderer.cc ('k') | cc/playback/clip_path_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 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_PLAYBACK_CLIP_DISPLAY_ITEM_H_ 5 #ifndef CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_
6 #define CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_ 6 #define CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory>
10 #include <vector> 11 #include <vector>
11 12
12 #include "base/memory/scoped_ptr.h"
13 #include "cc/base/cc_export.h" 13 #include "cc/base/cc_export.h"
14 #include "cc/playback/display_item.h" 14 #include "cc/playback/display_item.h"
15 #include "third_party/skia/include/core/SkRRect.h" 15 #include "third_party/skia/include/core/SkRRect.h"
16 #include "ui/gfx/geometry/rect.h" 16 #include "ui/gfx/geometry/rect.h"
17 17
18 class SkCanvas; 18 class SkCanvas;
19 19
20 namespace cc { 20 namespace cc {
21 class ImageSerializationProcessor; 21 class ImageSerializationProcessor;
22 22
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 base::trace_event::TracedValue* array) const override; 64 base::trace_event::TracedValue* array) const override;
65 size_t ExternalMemoryUsage() const override; 65 size_t ExternalMemoryUsage() const override;
66 66
67 int ApproximateOpCount() const { return 0; } 67 int ApproximateOpCount() const { return 0; }
68 bool IsSuitableForGpuRasterization() const { return true; } 68 bool IsSuitableForGpuRasterization() const { return true; }
69 }; 69 };
70 70
71 } // namespace cc 71 } // namespace cc
72 72
73 #endif // CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_ 73 #endif // CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_
OLDNEW
« no previous file with comments | « cc/output/vulkan_renderer.cc ('k') | cc/playback/clip_path_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698