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

Side by Side Diff: ui/compositor/paint_recorder.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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 | « ui/compositor/paint_context.h ('k') | ui/compositor/scoped_layer_animation_settings.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 UI_COMPOSITOR_PAINT_RECORDER_H_ 5 #ifndef UI_COMPOSITOR_PAINT_RECORDER_H_
6 #define UI_COMPOSITOR_PAINT_RECORDER_H_ 6 #define UI_COMPOSITOR_PAINT_RECORDER_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "skia/ext/refptr.h" 11 #include "skia/ext/refptr.h"
11 #include "ui/compositor/compositor_export.h" 12 #include "ui/compositor/compositor_export.h"
12 #include "ui/gfx/canvas.h" 13 #include "ui/gfx/canvas.h"
13 #include "ui/gfx/geometry/rect.h" 14 #include "ui/gfx/geometry/rect.h"
14 15
15 namespace cc { 16 namespace cc {
16 class DisplayItemList; 17 class DisplayItemList;
17 } 18 }
18 19
19 namespace gfx { 20 namespace gfx {
(...skipping 29 matching lines...) Expand all
49 gfx::Canvas canvas_; 50 gfx::Canvas canvas_;
50 PaintCache* cache_; 51 PaintCache* cache_;
51 gfx::Rect bounds_in_layer_; 52 gfx::Rect bounds_in_layer_;
52 53
53 DISALLOW_COPY_AND_ASSIGN(PaintRecorder); 54 DISALLOW_COPY_AND_ASSIGN(PaintRecorder);
54 }; 55 };
55 56
56 } // namespace ui 57 } // namespace ui
57 58
58 #endif // UI_COMPOSITOR_PAINT_RECORDER_H_ 59 #endif // UI_COMPOSITOR_PAINT_RECORDER_H_
OLDNEW
« no previous file with comments | « ui/compositor/paint_context.h ('k') | ui/compositor/scoped_layer_animation_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698