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

Unified Diff: cc/base/rtree.h

Issue 1484163002: Raster display item lists via a visual rect RTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head. Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: cc/base/rtree.h
diff --git a/cc/base/rtree.h b/cc/base/rtree.h
index 63f7d14f52c20d96ea0378b43749bd98831f344e..b9bc0fbeb2b3933b7297ff1ebd0bf09557ae9417 100644
--- a/cc/base/rtree.h
+++ b/cc/base/rtree.h
@@ -9,7 +9,7 @@
#include <vector>
#include "cc/base/cc_export.h"
-#include "ui/gfx/geometry/rect_f.h"
+#include "ui/gfx/geometry/rect.h"
namespace cc {
@@ -75,6 +75,8 @@ class CC_EXPORT RTree {
void Search(const gfx::Rect& query, std::vector<size_t>* results) const;
+ gfx::Rect GetBounds() const;
+
private:
// These values were empirically determined to produce reasonable performance
// in most cases.
« no previous file with comments | « no previous file | cc/base/rtree.cc » ('j') | third_party/WebKit/Source/platform/graphics/paint/PaintController.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698