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

Side by Side Diff: cc/layers/nine_patch_layer_impl.h

Issue 13065006: cc: Add DISALLOW_COPY_AND_ASSIGN where appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add operator= for DrawingState back as well Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « cc/layers/nine_patch_layer.h ('k') | cc/layers/picture_image_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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_NINE_PATCH_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_
6 #define CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_ 6 #define CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual const char* LayerTypeAsString() const OVERRIDE; 51 virtual const char* LayerTypeAsString() const OVERRIDE;
52 52
53 // The size of the NinePatch bitmap in pixels. 53 // The size of the NinePatch bitmap in pixels.
54 gfx::Size image_bounds_; 54 gfx::Size image_bounds_;
55 55
56 // The transparent center region that shows the parent layer's contents in 56 // The transparent center region that shows the parent layer's contents in
57 // image space. 57 // image space.
58 gfx::Rect image_aperture_; 58 gfx::Rect image_aperture_;
59 59
60 ResourceProvider::ResourceId resource_id_; 60 ResourceProvider::ResourceId resource_id_;
61
62 DISALLOW_COPY_AND_ASSIGN(NinePatchLayerImpl);
61 }; 63 };
62 64
63 } // namespace cc 65 } // namespace cc
64 66
65 #endif // CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_ 67 #endif // CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/nine_patch_layer.h ('k') | cc/layers/picture_image_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698