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

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

Issue 817653003: Update from https://crrev.com/309717 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « cc/test/layer_test_common.cc ('k') | cc/test/layer_tree_host_common_test.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_LAYER_TREE_HOST_COMMON_TEST_H_ 5 #ifndef CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_
6 #define CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_ 6 #define CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const gfx::Size& bounds, 55 const gfx::Size& bounds,
56 bool flatten_transform, 56 bool flatten_transform,
57 bool is_3d_sorted); 57 bool is_3d_sorted);
58 58
59 void SetLayerPropertiesForTesting(LayerImpl* layer, 59 void SetLayerPropertiesForTesting(LayerImpl* layer,
60 const gfx::Transform& transform, 60 const gfx::Transform& transform,
61 const gfx::Point3F& transform_origin, 61 const gfx::Point3F& transform_origin,
62 const gfx::PointF& position, 62 const gfx::PointF& position,
63 const gfx::Size& bounds, 63 const gfx::Size& bounds,
64 bool flatten_transform, 64 bool flatten_transform,
65 bool is_3d_sorted); 65 bool is_3d_sorted,
66 bool create_render_surface);
66 67
67 void ExecuteCalculateDrawProperties(Layer* root_layer, 68 void ExecuteCalculateDrawProperties(Layer* root_layer,
68 float device_scale_factor, 69 float device_scale_factor,
69 float page_scale_factor, 70 float page_scale_factor,
70 Layer* page_scale_application_layer, 71 Layer* page_scale_application_layer,
71 bool can_use_lcd_text, 72 bool can_use_lcd_text,
72 bool layers_always_allowed_lcd_text); 73 bool layers_always_allowed_lcd_text);
73 74
74 void ExecuteCalculateDrawProperties(LayerImpl* root_layer, 75 void ExecuteCalculateDrawProperties(LayerImpl* root_layer,
75 float device_scale_factor, 76 float device_scale_factor,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 FakeLayerTreeHostClient client_; 125 FakeLayerTreeHostClient client_;
125 int render_surface_layer_list_count_; 126 int render_surface_layer_list_count_;
126 }; 127 };
127 128
128 class LayerTreeHostCommonTest : public LayerTreeHostCommonTestBase, 129 class LayerTreeHostCommonTest : public LayerTreeHostCommonTestBase,
129 public testing::Test {}; 130 public testing::Test {};
130 131
131 } // namespace cc 132 } // namespace cc
132 133
133 #endif // CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_ 134 #endif // CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_
OLDNEW
« no previous file with comments | « cc/test/layer_test_common.cc ('k') | cc/test/layer_tree_host_common_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698