| Index: ash/wm/workspace/stuck_edge_types.h
|
| diff --git a/ash/wm/workspace/stuck_edge_types.h b/ash/wm/workspace/stuck_edge_types.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6127a7e4a2ff1129406130cffddaa4f381bd8cde
|
| --- /dev/null
|
| +++ b/ash/wm/workspace/stuck_edge_types.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2012 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 ASH_WM_WORKSPACE_STUCK_EDGE_TYPES_H_
|
| +#define ASH_WM_WORKSPACE_STUCK_EDGE_TYPES_H_
|
| +
|
| +namespace ash {
|
| +
|
| +// Enum for bits that contain edges that a window can be stuck to.
|
| +// Multiple edges can be combined in a bitmask
|
| +enum StuckEdge {
|
| + STUCK_EDGE_NONE = 0,
|
| + STUCK_EDGE_LEFT = 1 << 0,
|
| + STUCK_EDGE_RIGHT = 1 << 1,
|
| + STUCK_EDGE_TOP = 1 << 2,
|
| + STUCK_EDGE_BOTTOM = 1 << 3,
|
| +};
|
| +
|
| +const uint32 kAllStuckEdges =
|
| + STUCK_EDGE_LEFT | STUCK_EDGE_RIGHT | STUCK_EDGE_TOP | STUCK_EDGE_BOTTOM;
|
| +
|
| +} // namespace ash
|
| +
|
| +#endif // ASH_WM_WORKSPACE_STUCK_EDGE_TYPES_H_
|
| +
|
|
|