Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / gfx / overlay_transform.h
blob252fc734d56d0db6e55ea9a3d3b013da2ae6c04a
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_GFX_OVERLAY_TRANSFORM_H_
6 #define UI_GFX_OVERLAY_TRANSFORM_H_
8 namespace gfx {
10 // Describes transformation to be applied to the buffer before presenting
11 // to screen. Rotations are expressed anticlockwise.
12 enum OverlayTransform {
13 OVERLAY_TRANSFORM_INVALID,
14 OVERLAY_TRANSFORM_NONE,
15 OVERLAY_TRANSFORM_FLIP_HORIZONTAL,
16 OVERLAY_TRANSFORM_FLIP_VERTICAL,
17 OVERLAY_TRANSFORM_ROTATE_90,
18 OVERLAY_TRANSFORM_ROTATE_180,
19 OVERLAY_TRANSFORM_ROTATE_270,
20 OVERLAY_TRANSFORM_LAST = OVERLAY_TRANSFORM_ROTATE_270
23 } // namespace gfx
25 #endif // UI_GFX_OVERLAY_TRANSFORM_H_