| 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 "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
| 11 #include "skia/ext/refptr.h" | 11 #include "skia/ext/refptr.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/point.h" | 16 #include "ui/gfx/geometry/point.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class Value; | 19 class Value; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace cc { | 22 namespace cc { |
| 23 | 23 |
| 24 class CC_EXPORT FilterOperation { | 24 class CC_EXPORT FilterOperation { |
| 25 public: | 25 public: |
| 26 enum FilterType { | 26 enum FilterType { |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 SkColor drop_shadow_color_; | 249 SkColor drop_shadow_color_; |
| 250 skia::RefPtr<SkImageFilter> image_filter_; | 250 skia::RefPtr<SkImageFilter> image_filter_; |
| 251 SkScalar matrix_[20]; | 251 SkScalar matrix_[20]; |
| 252 int zoom_inset_; | 252 int zoom_inset_; |
| 253 SkRegion region_; | 253 SkRegion region_; |
| 254 }; | 254 }; |
| 255 | 255 |
| 256 } // namespace cc | 256 } // namespace cc |
| 257 | 257 |
| 258 #endif // CC_OUTPUT_FILTER_OPERATION_H_ | 258 #endif // CC_OUTPUT_FILTER_OPERATION_H_ |
| OLD | NEW |