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

Side by Side Diff: cc/layer_tiling_data.h

Issue 11275113: Remove most remaining references to IntRect and FloatRect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compositor bindings Created 8 years, 1 month 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/layer_sorter_unittest.cc ('k') | cc/layer_tiling_data.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 5
6 #ifndef CCLayerTilingData_h 6 #ifndef CCLayerTilingData_h
7 #define CCLayerTilingData_h 7 #define CCLayerTilingData_h
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "cc/hash_pair.h" 11 #include "cc/hash_pair.h"
12 #include "cc/scoped_ptr_hash_map.h" 12 #include "cc/scoped_ptr_hash_map.h"
13 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect.h"
14 #include "IntRect.h"
15 #include "Region.h" 14 #include "Region.h"
16 #include "TilingData.h" 15 #include "TilingData.h"
17 16
18 namespace cc { 17 namespace cc {
18 class IntRect;
19 19
20 class LayerTilingData { 20 class LayerTilingData {
21 public: 21 public:
22 enum BorderTexelOption { HasBorderTexels, NoBorderTexels }; 22 enum BorderTexelOption { HasBorderTexels, NoBorderTexels };
23 23
24 ~LayerTilingData(); 24 ~LayerTilingData();
25 25
26 static scoped_ptr<LayerTilingData> create(const gfx::Size& tileSize, BorderT exelOption); 26 static scoped_ptr<LayerTilingData> create(const gfx::Size& tileSize, BorderT exelOption);
27 27
28 bool hasEmptyBounds() const { return m_tilingData.hasEmptyBounds(); } 28 bool hasEmptyBounds() const { return m_tilingData.hasEmptyBounds(); }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 protected: 83 protected:
84 LayerTilingData(const gfx::Size& tileSize, BorderTexelOption); 84 LayerTilingData(const gfx::Size& tileSize, BorderTexelOption);
85 85
86 TileMap m_tiles; 86 TileMap m_tiles;
87 TilingData m_tilingData; 87 TilingData m_tilingData;
88 }; 88 };
89 89
90 } 90 }
91 91
92 #endif 92 #endif
OLDNEW
« no previous file with comments | « cc/layer_sorter_unittest.cc ('k') | cc/layer_tiling_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698