| Index: third_party/WebKit/Source/platform/graphics/paint/PaintProperties.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintProperties.h b/third_party/WebKit/Source/platform/graphics/paint/PaintProperties.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..69a6651de7ed9dc39f562fcb2b79e711512dbbb6
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintProperties.h
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef PaintProperties_h
|
| +#define PaintProperties_h
|
| +
|
| +#include <iosfwd>
|
| +
|
| +namespace blink {
|
| +
|
| +// The set of paint properties applying to a |PaintChunk|.
|
| +// In particular, this does not mean properties like background-color, but
|
| +// rather the hierarchy of transforms, clips, effects, etc. that apply to a
|
| +// contiguous chunk of drawings.
|
| +struct PaintProperties {
|
| + // TODO(jbroman): Add actual properties.
|
| +};
|
| +
|
| +inline bool operator==(const PaintProperties&, const PaintProperties&)
|
| +{
|
| + return true;
|
| +}
|
| +
|
| +inline bool operator!=(const PaintProperties& a, const PaintProperties& b)
|
| +{
|
| + return !(a == b);
|
| +}
|
| +
|
| +// Redeclared here to avoid ODR issues.
|
| +// See platform/testing/PaintPrinters.h.
|
| +void PrintTo(const PaintProperties&, std::ostream*);
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // PaintProperties_h
|
|
|