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

Side by Side Diff: cc/picture_layer_tiling.cc

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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/picture_layer_tiling.h" 5 #include "cc/picture_layer_tiling.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "cc/math_util.h" 10 #include "cc/base/math_util.h"
11 #include "ui/gfx/point_conversions.h" 11 #include "ui/gfx/point_conversions.h"
12 #include "ui/gfx/rect_conversions.h" 12 #include "ui/gfx/rect_conversions.h"
13 #include "ui/gfx/safe_integer_conversions.h" 13 #include "ui/gfx/safe_integer_conversions.h"
14 #include "ui/gfx/size_conversions.h" 14 #include "ui/gfx/size_conversions.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 scoped_ptr<PictureLayerTiling> PictureLayerTiling::Create( 18 scoped_ptr<PictureLayerTiling> PictureLayerTiling::Create(
19 float contents_scale) { 19 float contents_scale) {
20 return make_scoped_ptr(new PictureLayerTiling(contents_scale)); 20 return make_scoped_ptr(new PictureLayerTiling(contents_scale));
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 (bottom_complete ? 1 : 0); 714 (bottom_complete ? 1 : 0);
715 if (num_edges_complete == 4) 715 if (num_edges_complete == 4)
716 return working_rect; 716 return working_rect;
717 } 717 }
718 718
719 NOTREACHED(); 719 NOTREACHED();
720 return starting_rect; 720 return starting_rect;
721 } 721 }
722 722
723 } // namespace cc 723 } // namespace cc
OLDNEW
« cc/cc.gyp ('K') | « cc/picture_layer_tiling.h ('k') | cc/picture_layer_tiling_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698