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

Side by Side Diff: cc/picture_layer_tiling_set.h

Issue 12258044: cc: Add PictureLayerImpl::AsValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Size as value Created 7 years, 10 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_layer_tiling.cc ('k') | cc/picture_layer_tiling_set.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"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 PictureLayerTiling::LayerDeviceAlignment layer_device_alignment_; 104 PictureLayerTiling::LayerDeviceAlignment layer_device_alignment_;
105 PictureLayerTiling::Iterator tiling_iter_; 105 PictureLayerTiling::Iterator tiling_iter_;
106 int current_tiling_; 106 int current_tiling_;
107 int ideal_tiling_; 107 int ideal_tiling_;
108 108
109 Region current_region_; 109 Region current_region_;
110 Region missing_region_; 110 Region missing_region_;
111 Region::Iterator region_iter_; 111 Region::Iterator region_iter_;
112 }; 112 };
113 113
114 scoped_ptr<base::Value> AsValue() const;
115
114 private: 116 private:
115 PictureLayerTilingClient* client_; 117 PictureLayerTilingClient* client_;
116 gfx::Size layer_bounds_; 118 gfx::Size layer_bounds_;
117 ScopedPtrVector<PictureLayerTiling> tilings_; 119 ScopedPtrVector<PictureLayerTiling> tilings_;
118 120
119 friend class Iterator; 121 friend class Iterator;
120 }; 122 };
121 123
122 } // namespace cc 124 } // namespace cc
123 125
124 #endif // CC_PICTURE_LAYER_TILING_SET_H_ 126 #endif // CC_PICTURE_LAYER_TILING_SET_H_
OLDNEW
« no previous file with comments | « cc/picture_layer_tiling.cc ('k') | cc/picture_layer_tiling_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698