OLD | NEW |
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 #ifndef CC_OUTPUT_FILTER_OPERATION_H_ | 5 #ifndef CC_OUTPUT_FILTER_OPERATION_H_ |
6 #define CC_OUTPUT_FILTER_OPERATION_H_ | 6 #define CC_OUTPUT_FILTER_OPERATION_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
12 #include "third_party/skia/include/core/SkColor.h" | 12 #include "third_party/skia/include/core/SkColor.h" |
13 #include "third_party/skia/include/core/SkImageFilter.h" | 13 #include "third_party/skia/include/core/SkImageFilter.h" |
14 #include "third_party/skia/include/core/SkRegion.h" | 14 #include "third_party/skia/include/core/SkRegion.h" |
15 #include "third_party/skia/include/core/SkScalar.h" | 15 #include "third_party/skia/include/core/SkScalar.h" |
16 #include "ui/gfx/geometry/point.h" | 16 #include "ui/gfx/geometry/point.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 namespace trace_event { | 19 namespace trace_event { |
20 class TracedValue; | 20 class TracedValue; |
21 } | 21 } |
22 class Value; | |
23 } | 22 } |
24 | 23 |
25 namespace gfx { | 24 namespace gfx { |
26 class Rect; | 25 class Rect; |
27 } | 26 } |
28 | 27 |
29 namespace cc { | 28 namespace cc { |
30 | 29 |
31 class CC_EXPORT FilterOperation { | 30 class CC_EXPORT FilterOperation { |
32 public: | 31 public: |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 SkColor drop_shadow_color_; | 264 SkColor drop_shadow_color_; |
266 sk_sp<SkImageFilter> image_filter_; | 265 sk_sp<SkImageFilter> image_filter_; |
267 SkScalar matrix_[20]; | 266 SkScalar matrix_[20]; |
268 int zoom_inset_; | 267 int zoom_inset_; |
269 SkRegion region_; | 268 SkRegion region_; |
270 }; | 269 }; |
271 | 270 |
272 } // namespace cc | 271 } // namespace cc |
273 | 272 |
274 #endif // CC_OUTPUT_FILTER_OPERATION_H_ | 273 #endif // CC_OUTPUT_FILTER_OPERATION_H_ |
OLD | NEW |