| Index: cc/output/overlay_candidate.h
|
| diff --git a/cc/output/overlay_candidate.h b/cc/output/overlay_candidate.h
|
| index c53013630d66aacb0462799b84c0c1eee324b256..356d5616e96ff91808652bfb3d11f4b081c21b11 100644
|
| --- a/cc/output/overlay_candidate.h
|
| +++ b/cc/output/overlay_candidate.h
|
| @@ -11,11 +11,14 @@
|
| #include "cc/base/cc_export.h"
|
| #include "cc/resources/resource_format.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| +#include "ui/gfx/transform.h"
|
|
|
| namespace cc {
|
|
|
| -struct CC_EXPORT OverlayCandidate {
|
| +class CC_EXPORT OverlayCandidate {
|
| + public:
|
| enum OverlayTransform {
|
| + INVALID,
|
| NONE,
|
| FLIP_HORIZONTAL,
|
| FLIP_VERTICAL,
|
| @@ -24,6 +27,11 @@ struct CC_EXPORT OverlayCandidate {
|
| ROTATE_270,
|
| };
|
|
|
| + static OverlayTransform GetOverlayTransform(
|
| + const gfx::Transform& quad_transform, bool flipped);
|
| + static gfx::Rect GetOverlayRect(const gfx::Transform& quad_transform,
|
| + const gfx::Rect& rect);
|
| +
|
| OverlayCandidate();
|
| ~OverlayCandidate();
|
|
|
|
|