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

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

Issue 660333004: cc cleanup: Update paths to geometry headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 2 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/texture_uploader.cc ('k') | cc/resources/tile_manager.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_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"
10 #include "base/memory/scoped_vector.h"
11 #include "cc/base/ref_counted_managed.h" 9 #include "cc/base/ref_counted_managed.h"
12 #include "cc/resources/managed_tile_state.h" 10 #include "cc/resources/managed_tile_state.h"
13 #include "cc/resources/picture_pile_impl.h" 11 #include "cc/resources/picture_pile_impl.h"
14 #include "cc/resources/tile_priority.h" 12 #include "cc/resources/tile_priority.h"
15 #include "ui/gfx/rect.h" 13 #include "ui/gfx/geometry/rect.h"
16 #include "ui/gfx/size.h" 14 #include "ui/gfx/geometry/size.h"
17 15
18 namespace cc { 16 namespace cc {
19 17
20 class CC_EXPORT Tile : public RefCountedManaged<Tile> { 18 class CC_EXPORT Tile : public RefCountedManaged<Tile> {
21 public: 19 public:
22 enum TileRasterFlags { USE_PICTURE_ANALYSIS = 1 << 0 }; 20 enum TileRasterFlags { USE_PICTURE_ANALYSIS = 1 << 0 };
23 21
24 typedef uint64 Id; 22 typedef uint64 Id;
25 23
26 Id id() const { 24 Id id() const {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 181
184 Id id_; 182 Id id_;
185 static Id s_next_id_; 183 static Id s_next_id_;
186 184
187 DISALLOW_COPY_AND_ASSIGN(Tile); 185 DISALLOW_COPY_AND_ASSIGN(Tile);
188 }; 186 };
189 187
190 } // namespace cc 188 } // namespace cc
191 189
192 #endif // CC_RESOURCES_TILE_H_ 190 #endif // CC_RESOURCES_TILE_H_
OLDNEW
« no previous file with comments | « cc/resources/texture_uploader.cc ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698