OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_TREES_CLIP_EXPANDER_H_ | 5 #ifndef CC_TREES_CLIP_EXPANDER_H_ |
6 #define CC_TREES_CLIP_EXPANDER_H_ | 6 #define CC_TREES_CLIP_EXPANDER_H_ |
7 | 7 |
8 #include "cc/base/cc_export.h" | 8 #include "cc/cc_export.h" |
9 #include "ui/gfx/geometry/rect.h" | 9 #include "ui/gfx/geometry/rect.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 | 12 |
13 class PropertyTrees; | 13 class PropertyTrees; |
14 | 14 |
15 class CC_EXPORT ClipExpander { | 15 class CC_EXPORT ClipExpander { |
16 public: | 16 public: |
17 explicit ClipExpander(int filter_effect_id); | 17 explicit ClipExpander(int filter_effect_id); |
18 ClipExpander(const ClipExpander& other); | 18 ClipExpander(const ClipExpander& other); |
(...skipping 15 matching lines...) Expand all Loading... |
34 // The id of the effect node in whose transform space the expansion happens. | 34 // The id of the effect node in whose transform space the expansion happens. |
35 int target_effect_id() const { return target_effect_id_; } | 35 int target_effect_id() const { return target_effect_id_; } |
36 | 36 |
37 private: | 37 private: |
38 int target_effect_id_; | 38 int target_effect_id_; |
39 }; | 39 }; |
40 | 40 |
41 } // namespace cc | 41 } // namespace cc |
42 | 42 |
43 #endif // CC_TREES_CLIP_EXPANDER_H_ | 43 #endif // CC_TREES_CLIP_EXPANDER_H_ |
OLD | NEW |