| Index: third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h b/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h
|
| index f364a24dfab44702c222ad9b5de0b246d264120a..eee54f00d5f9072d35f3c7428a8ea4bcdbdb7ff2 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "cc/output/filter_operations.h"
|
| #include "platform/PlatformExport.h"
|
| +#include "platform/geometry/FloatRect.h"
|
| #include "platform/geometry/IntPoint.h"
|
| #include "platform/graphics/Color.h"
|
| #include "third_party/skia/include/core/SkScalar.h"
|
| @@ -41,6 +42,12 @@ class PLATFORM_EXPORT CompositorFilterOperations {
|
| void clear();
|
| bool isEmpty() const;
|
|
|
| + // Returns a rect covering the destination pixels that can be affected by
|
| + // source pixels in |inputRect|.
|
| + FloatRect mapRect(const FloatRect& inputRect) const;
|
| +
|
| + bool hasFilterThatMovesPixels() const;
|
| +
|
| // For reference filters, this equality operator compares pointers of the
|
| // image_filter fields instead of their values.
|
| bool operator==(const CompositorFilterOperations&) const;
|
|
|