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

Side by Side Diff: cc/base/rtree.h

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes 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 unified diff | Download patch
« no previous file with comments | « cc/base/rolling_time_delta_history.cc ('k') | cc/base/rtree.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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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_BASE_RTREE_H_ 5 #ifndef CC_BASE_RTREE_H_
6 #define CC_BASE_RTREE_H_ 6 #define CC_BASE_RTREE_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <deque> 11 #include <deque>
9 #include <vector> 12 #include <vector>
10 13
11 #include "cc/base/cc_export.h" 14 #include "cc/base/cc_export.h"
12 #include "ui/gfx/geometry/rect.h" 15 #include "ui/gfx/geometry/rect.h"
13 16
14 namespace cc { 17 namespace cc {
15 18
16 // The following description and most of the implementation is borrowed from 19 // The following description and most of the implementation is borrowed from
17 // Skia's SkRTree implementation. 20 // Skia's SkRTree implementation.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 114
112 // This is the count of data elements (rather than total nodes in the tree) 115 // This is the count of data elements (rather than total nodes in the tree)
113 size_t num_data_elements_; 116 size_t num_data_elements_;
114 Branch root_; 117 Branch root_;
115 std::deque<Node> nodes_; 118 std::deque<Node> nodes_;
116 }; 119 };
117 120
118 } // namespace cc 121 } // namespace cc
119 122
120 #endif // CC_BASE_RTREE_H_ 123 #endif // CC_BASE_RTREE_H_
OLDNEW
« no previous file with comments | « cc/base/rolling_time_delta_history.cc ('k') | cc/base/rtree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698