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

Side by Side Diff: cc/resources/prioritized_tile_set_unittest.cc

Issue 324483003: cc: Removed LCD text settings from the impl side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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/picture_layer_tiling_set.cc ('k') | cc/resources/raster_mode.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <algorithm> 5 #include <algorithm>
6 #include <vector> 6 #include <vector>
7 7
8 #include "cc/resources/managed_tile_state.h" 8 #include "cc/resources/managed_tile_state.h"
9 #include "cc/resources/prioritized_tile_set.h" 9 #include "cc/resources/prioritized_tile_set.h"
10 #include "cc/resources/tile.h" 10 #include "cc/resources/tile.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 68 }
69 69
70 scoped_refptr<Tile> CreateTile() { 70 scoped_refptr<Tile> CreateTile() {
71 return tile_manager_->CreateTile(picture_pile_.get(), 71 return tile_manager_->CreateTile(picture_pile_.get(),
72 settings_.default_tile_size, 72 settings_.default_tile_size,
73 gfx::Rect(), 73 gfx::Rect(),
74 gfx::Rect(), 74 gfx::Rect(),
75 1.0, 75 1.0,
76 0, 76 0,
77 0, 77 0,
78 Tile::USE_LCD_TEXT); 78 0);
79 } 79 }
80 80
81 private: 81 private:
82 LayerTreeSettings settings_; 82 LayerTreeSettings settings_;
83 FakeOutputSurfaceClient output_surface_client_; 83 FakeOutputSurfaceClient output_surface_client_;
84 scoped_ptr<FakeOutputSurface> output_surface_; 84 scoped_ptr<FakeOutputSurface> output_surface_;
85 scoped_ptr<SharedBitmapManager> shared_bitmap_manager_; 85 scoped_ptr<SharedBitmapManager> shared_bitmap_manager_;
86 scoped_ptr<ResourceProvider> resource_provider_; 86 scoped_ptr<ResourceProvider> resource_provider_;
87 scoped_ptr<ResourcePool> resource_pool_; 87 scoped_ptr<ResourcePool> resource_pool_;
88 FakeTileManagerClient tile_manager_client_; 88 FakeTileManagerClient tile_manager_client_;
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 723
724 set.Clear(); 724 set.Clear();
725 725
726 PrioritizedTileSet::Iterator empty_it(&set, true); 726 PrioritizedTileSet::Iterator empty_it(&set, true);
727 EXPECT_FALSE(empty_it); 727 EXPECT_FALSE(empty_it);
728 } 728 }
729 729
730 } // namespace 730 } // namespace
731 } // namespace cc 731 } // namespace cc
732 732
OLDNEW
« no previous file with comments | « cc/resources/picture_layer_tiling_set.cc ('k') | cc/resources/raster_mode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698