#include "base/containers/scoped_ptr_hash_map.h"
#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
-#include "cc/base/region.h"
+#include "cc/base/simple_enclosed_region.h"
#include "cc/base/tiling_data.h"
#include "ui/gfx/rect.h"
j_ = j;
}
- gfx::Rect opaque_rect() const { return opaque_rect_; }
- void set_opaque_rect(const gfx::Rect& opaque_rect) {
- opaque_rect_ = opaque_rect;
- }
private:
int i_;
int j_;
- gfx::Rect opaque_rect_;
DISALLOW_COPY_AND_ASSIGN(Tile);
};
typedef std::pair<int, int> TileMapKey;
int* bottom) const;
gfx::Rect TileRect(const Tile* tile) const;
- Region OpaqueRegionInContentRect(const gfx::Rect& rect) const;
-
void reset() { tiles_.clear(); }
protected: