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

Side by Side Diff: cc/layers/layer_impl_test_properties.h

Issue 2254543004: cc : Delete LayerImpl::transform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use test properties transform Created 4 years, 4 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/layers/layer_impl.cc ('k') | cc/layers/layer_impl_unittest.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_
6 #define CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ 6 #define CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "cc/layers/layer_collections.h" 12 #include "cc/layers/layer_collections.h"
13 #include "cc/layers/layer_position_constraint.h" 13 #include "cc/layers/layer_position_constraint.h"
14 #include "cc/output/filter_operations.h" 14 #include "cc/output/filter_operations.h"
15 #include "third_party/skia/include/core/SkXfermode.h" 15 #include "third_party/skia/include/core/SkXfermode.h"
16 #include "ui/gfx/geometry/point3_f.h" 16 #include "ui/gfx/geometry/point3_f.h"
17 #include "ui/gfx/transform.h"
17 18
18 namespace cc { 19 namespace cc {
19 20
20 class CopyOutputRequest; 21 class CopyOutputRequest;
21 class LayerImpl; 22 class LayerImpl;
22 23
23 struct CC_EXPORT LayerImplTestProperties { 24 struct CC_EXPORT LayerImplTestProperties {
24 explicit LayerImplTestProperties(LayerImpl* owning_layer); 25 explicit LayerImplTestProperties(LayerImpl* owning_layer);
25 ~LayerImplTestProperties(); 26 ~LayerImplTestProperties();
26 27
(...skipping 10 matching lines...) Expand all
37 bool hide_layer_and_subtree; 38 bool hide_layer_and_subtree;
38 bool opacity_can_animate; 39 bool opacity_can_animate;
39 int num_descendants_that_draw_content; 40 int num_descendants_that_draw_content;
40 size_t num_unclipped_descendants; 41 size_t num_unclipped_descendants;
41 float opacity; 42 float opacity;
42 FilterOperations filters; 43 FilterOperations filters;
43 FilterOperations background_filters; 44 FilterOperations background_filters;
44 SkXfermode::Mode blend_mode; 45 SkXfermode::Mode blend_mode;
45 LayerPositionConstraint position_constraint; 46 LayerPositionConstraint position_constraint;
46 gfx::Point3F transform_origin; 47 gfx::Point3F transform_origin;
48 gfx::Transform transform;
47 LayerImpl* scroll_parent; 49 LayerImpl* scroll_parent;
48 std::unique_ptr<std::set<LayerImpl*>> scroll_children; 50 std::unique_ptr<std::set<LayerImpl*>> scroll_children;
49 LayerImpl* clip_parent; 51 LayerImpl* clip_parent;
50 std::unique_ptr<std::set<LayerImpl*>> clip_children; 52 std::unique_ptr<std::set<LayerImpl*>> clip_children;
51 std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests; 53 std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests;
52 LayerImplList children; 54 LayerImplList children;
53 LayerImpl* mask_layer; 55 LayerImpl* mask_layer;
54 LayerImpl* replica_layer; 56 LayerImpl* replica_layer;
55 LayerImpl* parent; 57 LayerImpl* parent;
56 }; 58 };
57 59
58 } // namespace cc 60 } // namespace cc
59 61
60 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ 62 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/layers/layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698