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

Side by Side Diff: cc/test/fake_picture_layer_tiling_client.h

Issue 228183002: cc: Move ResourcePool ownership to LTHI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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/resources/tile_manager_unittest.cc ('k') | cc/test/fake_picture_layer_tiling_client.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 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 #ifndef CC_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_ 5 #ifndef CC_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_
6 #define CC_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_ 6 #define CC_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_
7 7
8 #include "cc/resources/picture_layer_tiling.h" 8 #include "cc/resources/picture_layer_tiling.h"
9 #include "cc/resources/picture_pile_impl.h" 9 #include "cc/resources/picture_pile_impl.h"
10 #include "cc/resources/tile.h" 10 #include "cc/resources/tile.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void set_skewport_extrapolation_limit_in_content_pixels(int limit) { 52 void set_skewport_extrapolation_limit_in_content_pixels(int limit) {
53 skewport_extrapolation_limit_in_content_pixels_ = limit; 53 skewport_extrapolation_limit_in_content_pixels_ = limit;
54 } 54 }
55 55
56 TileManager* tile_manager() const { 56 TileManager* tile_manager() const {
57 return tile_manager_.get(); 57 return tile_manager_.get();
58 } 58 }
59 59
60 protected: 60 protected:
61 FakeTileManagerClient tile_manager_client_; 61 FakeTileManagerClient tile_manager_client_;
62 scoped_ptr<ResourcePool> resource_pool_;
62 scoped_ptr<TileManager> tile_manager_; 63 scoped_ptr<TileManager> tile_manager_;
63 scoped_refptr<PicturePileImpl> pile_; 64 scoped_refptr<PicturePileImpl> pile_;
64 gfx::Size tile_size_; 65 gfx::Size tile_size_;
65 PictureLayerTiling* twin_tiling_; 66 PictureLayerTiling* twin_tiling_;
66 gfx::Rect text_rect_; 67 gfx::Rect text_rect_;
67 bool allow_create_tile_; 68 bool allow_create_tile_;
68 Region invalidation_; 69 Region invalidation_;
69 size_t max_tiles_for_interest_area_; 70 size_t max_tiles_for_interest_area_;
70 float skewport_target_time_in_seconds_; 71 float skewport_target_time_in_seconds_;
71 int skewport_extrapolation_limit_in_content_pixels_; 72 int skewport_extrapolation_limit_in_content_pixels_;
72 }; 73 };
73 74
74 } // namespace cc 75 } // namespace cc
75 76
76 #endif // CC_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_ 77 #endif // CC_TEST_FAKE_PICTURE_LAYER_TILING_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/resources/tile_manager_unittest.cc ('k') | cc/test/fake_picture_layer_tiling_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698