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

Side by Side Diff: cc/debug/debug_rect_history.cc

Issue 183563003: cc: Clean up OcclusionTracker template parameters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: occlusionparams: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layers/content_layer.h » ('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 #include "cc/debug/debug_rect_history.h" 5 #include "cc/debug/debug_rect_history.h"
6 6
7 #include "cc/base/math_util.h" 7 #include "cc/base/math_util.h"
8 #include "cc/layers/layer_impl.h" 8 #include "cc/layers/layer_impl.h"
9 #include "cc/layers/layer_iterator.h"
9 #include "cc/layers/layer_utils.h" 10 #include "cc/layers/layer_utils.h"
10 #include "cc/layers/render_surface_impl.h" 11 #include "cc/layers/render_surface_impl.h"
11 #include "cc/trees/damage_tracker.h" 12 #include "cc/trees/damage_tracker.h"
12 #include "cc/trees/layer_tree_host.h" 13 #include "cc/trees/layer_tree_host.h"
13 #include "cc/trees/layer_tree_host_common.h" 14 #include "cc/trees/layer_tree_host_common.h"
14 15
15 namespace cc { 16 namespace cc {
16 17
17 // static 18 // static
18 scoped_ptr<DebugRectHistory> DebugRectHistory::Create() { 19 scoped_ptr<DebugRectHistory> DebugRectHistory::Create() {
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 255
255 debug_rects_.push_back(DebugRect(ANIMATION_BOUNDS_RECT_TYPE, 256 debug_rects_.push_back(DebugRect(ANIMATION_BOUNDS_RECT_TYPE,
256 gfx::RectF(inflated_bounds.x(), 257 gfx::RectF(inflated_bounds.x(),
257 inflated_bounds.y(), 258 inflated_bounds.y(),
258 inflated_bounds.width(), 259 inflated_bounds.width(),
259 inflated_bounds.height()))); 260 inflated_bounds.height())));
260 } 261 }
261 } 262 }
262 263
263 } // namespace cc 264 } // namespace cc
OLDNEW
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layers/content_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698