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

Side by Side Diff: cc/picture_layer_tiling_set.h

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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/picture.h ('k') | cc/picture_pile.cc » ('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_PICTURE_LAYER_TILING_SET_H_ 5 #ifndef CC_PICTURE_LAYER_TILING_SET_H_
6 #define CC_PICTURE_LAYER_TILING_SET_H_ 6 #define CC_PICTURE_LAYER_TILING_SET_H_
7 7
8 #include "cc/picture_layer_tiling.h" 8 #include "cc/picture_layer_tiling.h"
9 #include "cc/region.h" 9 #include "cc/region.h"
10 #include "cc/scoped_ptr_vector.h" 10 #include "cc/scoped_ptr_vector.h"
11 #include "ui/gfx/size.h" 11 #include "ui/gfx/size.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 class CC_EXPORT PictureLayerTilingSet { 15 class CC_EXPORT PictureLayerTilingSet {
16 public: 16 public:
17 PictureLayerTilingSet(PictureLayerTilingClient* client); 17 explicit PictureLayerTilingSet(PictureLayerTilingClient* client);
18 ~PictureLayerTilingSet(); 18 ~PictureLayerTilingSet();
19 19
20 // Shallow copies all data (except client and bounds from other). 20 // Shallow copies all data (except client and bounds from other).
21 void CloneAll( 21 void CloneAll(
22 const PictureLayerTilingSet& other, 22 const PictureLayerTilingSet& other,
23 const Region& invalidation); 23 const Region& invalidation);
24 void Clone(const PictureLayerTiling* tiling, const Region& invalidation); 24 void Clone(const PictureLayerTiling* tiling, const Region& invalidation);
25 25
26 void SetLayerBounds(gfx::Size layer_bounds); 26 void SetLayerBounds(gfx::Size layer_bounds);
27 gfx::Size LayerBounds() const; 27 gfx::Size LayerBounds() const;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 gfx::Size layer_bounds_; 85 gfx::Size layer_bounds_;
86 ScopedPtrVector<PictureLayerTiling> tilings_; 86 ScopedPtrVector<PictureLayerTiling> tilings_;
87 Region invalidation_; 87 Region invalidation_;
88 88
89 friend class Iterator; 89 friend class Iterator;
90 }; 90 };
91 91
92 } // namespace cc 92 } // namespace cc
93 93
94 #endif // CC_PICTURE_LAYER_TILING_SET_H_ 94 #endif // CC_PICTURE_LAYER_TILING_SET_H_
OLDNEW
« no previous file with comments | « cc/picture.h ('k') | cc/picture_pile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698