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

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

Issue 19305002: Merge 210098 "cc: Eliminate tile.h's dependency on tile_manager.h" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1547/src/
Patch Set: Created 7 years, 5 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/raster_worker_pool_perftest.cc ('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"
11 #include "cc/resources/managed_tile_state.h" 11 #include "cc/resources/managed_tile_state.h"
12 #include "cc/resources/picture_pile_impl.h" 12 #include "cc/resources/raster_mode.h"
13 #include "cc/resources/tile_manager.h"
14 #include "cc/resources/tile_priority.h" 13 #include "cc/resources/tile_priority.h"
15 #include "cc/trees/layer_tree_host_impl.h"
16 #include "ui/gfx/rect.h" 14 #include "ui/gfx/rect.h"
17 #include "ui/gfx/size.h" 15 #include "ui/gfx/size.h"
18 16
19 namespace cc { 17 namespace cc {
20 18
19 class PicturePileImpl;
21 class Tile; 20 class Tile;
22 21
23 class CC_EXPORT Tile : public base::RefCounted<Tile> { 22 class CC_EXPORT Tile : public base::RefCounted<Tile> {
24 public: 23 public:
25 Tile(TileManager* tile_manager, 24 Tile(TileManager* tile_manager,
26 PicturePileImpl* picture_pile, 25 PicturePileImpl* picture_pile,
27 gfx::Size tile_size, 26 gfx::Size tile_size,
28 gfx::Rect content_rect, 27 gfx::Rect content_rect,
29 gfx::Rect opaque_rect, 28 gfx::Rect opaque_rect,
30 float contents_scale, 29 float contents_scale,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 ManagedTileState managed_state_; 142 ManagedTileState managed_state_;
144 int layer_id_; 143 int layer_id_;
145 int source_frame_number_; 144 int source_frame_number_;
146 145
147 DISALLOW_COPY_AND_ASSIGN(Tile); 146 DISALLOW_COPY_AND_ASSIGN(Tile);
148 }; 147 };
149 148
150 } // namespace cc 149 } // namespace cc
151 150
152 #endif // CC_RESOURCES_TILE_H_ 151 #endif // CC_RESOURCES_TILE_H_
OLDNEW
« no previous file with comments | « cc/resources/raster_worker_pool_perftest.cc ('k') | cc/resources/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698