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/resources/picture_layer_tiling.h

Issue 14301021: cc: Don't pass simple well-defined classes by reference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/resources/picture.cc ('k') | cc/resources/picture_layer_tiling.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_RESOURCES_PICTURE_LAYER_TILING_H_ 5 #ifndef CC_RESOURCES_PICTURE_LAYER_TILING_H_
6 #define CC_RESOURCES_PICTURE_LAYER_TILING_H_ 6 #define CC_RESOURCES_PICTURE_LAYER_TILING_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 int tile_i_; 116 int tile_i_;
117 int tile_j_; 117 int tile_j_;
118 int left_; 118 int left_;
119 int top_; 119 int top_;
120 int right_; 120 int right_;
121 int bottom_; 121 int bottom_;
122 122
123 friend class PictureLayerTiling; 123 friend class PictureLayerTiling;
124 }; 124 };
125 125
126 Region OpaqueRegionInContentRect(const gfx::Rect&) const; 126 Region OpaqueRegionInContentRect(gfx::Rect content_rect) const;
127 127
128 void Reset() { return tiles_.clear(); } 128 void Reset() { return tiles_.clear(); }
129 129
130 void UpdateTilePriorities( 130 void UpdateTilePriorities(
131 WhichTree tree, 131 WhichTree tree,
132 gfx::Size device_viewport, 132 gfx::Size device_viewport,
133 const gfx::RectF& viewport_in_layer_space, 133 const gfx::RectF& viewport_in_layer_space,
134 const gfx::RectF& visible_layer_rect, 134 const gfx::RectF& visible_layer_rect,
135 gfx::Size last_layer_bounds, 135 gfx::Size last_layer_bounds,
136 gfx::Size current_layer_bounds, 136 gfx::Size current_layer_bounds,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 friend class CoverageIterator; 173 friend class CoverageIterator;
174 174
175 private: 175 private:
176 DISALLOW_ASSIGN(PictureLayerTiling); 176 DISALLOW_ASSIGN(PictureLayerTiling);
177 }; 177 };
178 178
179 } // namespace cc 179 } // namespace cc
180 180
181 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_H_ 181 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_H_
OLDNEW
« no previous file with comments | « cc/resources/picture.cc ('k') | cc/resources/picture_layer_tiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698