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

Side by Side Diff: cc/layers/empty_content_layer_client.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/layers/draw_properties.h ('k') | cc/layers/heads_up_display_layer.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_LAYERS_EMPTY_CONTENT_LAYER_CLIENT_H_ 5 #ifndef CC_LAYERS_EMPTY_CONTENT_LAYER_CLIENT_H_
6 #define CC_LAYERS_EMPTY_CONTENT_LAYER_CLIENT_H_ 6 #define CC_LAYERS_EMPTY_CONTENT_LAYER_CLIENT_H_
7 7
8 #include <memory>
9
8 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "cc/base/cc_export.h" 12 #include "cc/base/cc_export.h"
12 #include "cc/layers/content_layer_client.h" 13 #include "cc/layers/content_layer_client.h"
13 #include "ui/gfx/geometry/rect.h" 14 #include "ui/gfx/geometry/rect.h"
14 15
15 namespace cc { 16 namespace cc {
16 17
17 class DisplayItemList; 18 class DisplayItemList;
18 19
19 // This is used by deserialized PictureLayers which have no local 20 // This is used by deserialized PictureLayers which have no local
20 // ContentLayerClient but still have valid content from the original serialized 21 // ContentLayerClient but still have valid content from the original serialized
(...skipping 17 matching lines...) Expand all
38 39
39 EmptyContentLayerClient(); 40 EmptyContentLayerClient();
40 ~EmptyContentLayerClient() override; 41 ~EmptyContentLayerClient() override;
41 42
42 DISALLOW_COPY_AND_ASSIGN(EmptyContentLayerClient); 43 DISALLOW_COPY_AND_ASSIGN(EmptyContentLayerClient);
43 }; 44 };
44 45
45 } // namespace cc 46 } // namespace cc
46 47
47 #endif // CC_LAYERS_EMPTY_CONTENT_LAYER_CLIENT_H_ 48 #endif // CC_LAYERS_EMPTY_CONTENT_LAYER_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/layers/draw_properties.h ('k') | cc/layers/heads_up_display_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698