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

Side by Side Diff: cc/resources/tile.h

Issue 23802002: CC: Delete unused code and fix priority_ array definition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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/resources/managed_tile_state.h ('k') | cc/resources/tile_manager.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_RESOURCES_TILE_H_ 5 #ifndef CC_RESOURCES_TILE_H_
6 #define CC_RESOURCES_TILE_H_ 6 #define CC_RESOURCES_TILE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 friend class base::RefCounted<Tile>; 130 friend class base::RefCounted<Tile>;
131 ~Tile(); 131 ~Tile();
132 132
133 TileManager* tile_manager_; 133 TileManager* tile_manager_;
134 scoped_refptr<PicturePileImpl> picture_pile_; 134 scoped_refptr<PicturePileImpl> picture_pile_;
135 gfx::Rect tile_size_; 135 gfx::Rect tile_size_;
136 gfx::Rect content_rect_; 136 gfx::Rect content_rect_;
137 float contents_scale_; 137 float contents_scale_;
138 gfx::Rect opaque_rect_; 138 gfx::Rect opaque_rect_;
139 139
140 TilePriority priority_[NUM_BIN_PRIORITIES]; 140 TilePriority priority_[NUM_TREES];
141 ManagedTileState managed_state_; 141 ManagedTileState managed_state_;
142 int layer_id_; 142 int layer_id_;
143 int source_frame_number_; 143 int source_frame_number_;
144 bool can_use_lcd_text_; 144 bool can_use_lcd_text_;
145 145
146 Id id_; 146 Id id_;
147 static Id s_next_id_; 147 static Id s_next_id_;
148 148
149 DISALLOW_COPY_AND_ASSIGN(Tile); 149 DISALLOW_COPY_AND_ASSIGN(Tile);
150 }; 150 };
151 151
152 } // namespace cc 152 } // namespace cc
153 153
154 #endif // CC_RESOURCES_TILE_H_ 154 #endif // CC_RESOURCES_TILE_H_
OLDNEW
« no previous file with comments | « cc/resources/managed_tile_state.h ('k') | cc/resources/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698